kernel_optimize_test/include/soc
Rasmus Villemoes c93c159aef soc: fsl: qe: avoid IS_ERR_VALUE in ucc_fast.c
When building this on a 64-bit platform gcc rightly warns that the
error checking is broken (-ENOMEM stored in an u32 does not compare
greater than (unsigned long)-MAX_ERRNO). Instead, change the
ucc_fast_[tr]x_virtual_fifo_base_offset members to s32 and use an
ordinary check-for-negative. Also, this avoids treating 0 as "this
cannot have been returned from qe_muram_alloc() so don't free it".

Reviewed-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
2019-12-09 13:54:37 -06:00
..
arc
at91
bcm2835
brcmstb
fsl soc: fsl: qe: avoid IS_ERR_VALUE in ucc_fast.c 2019-12-09 13:54:37 -06:00
imx
mediatek
mscc net: mscc: ocelot: use skb queue instead of skbs list 2019-11-27 10:53:37 -08:00
nps
qcom soc: qcom: ocmem: add missing includes 2019-10-07 08:19:43 -07:00
rockchip
sa1100
tegra memory: tegra: Introduce Tegra30 EMC driver 2019-11-11 14:55:27 +01:00