kernel_optimize_test/drivers/soc
Jiasheng Jiang fbb810825a soc: fsl: qe: Check of ioremap return value
[ Upstream commit a222fd8541394b36b13c89d1698d9530afd59a9c ]

As the possible failure of the ioremap(), the par_io could be NULL.
Therefore it should be better to check it and return error in order to
guarantee the success of the initiation.
But, I also notice that all the caller like mpc85xx_qe_par_io_init() in
`arch/powerpc/platforms/85xx/common.c` don't check the return value of
the par_io_init().
Actually, par_io_init() needs to check to handle the potential error.
I will submit another patch to fix that.
Anyway, par_io_init() itsely should be fixed.

Fixes: 7aa1aa6ece ("QE: Move QE from arch/powerpc to drivers/soc")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-03-08 19:09:37 +01:00
..
actions
amlogic
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-23 12:01:06 +01:00
atmel
bcm
dove
fsl soc: fsl: qe: Check of ioremap return value 2022-03-08 19:09:37 +01:00
gemini
imx soc: imx: Register SoC device only on i.MX boards 2021-12-22 09:30:52 +01:00
ixp4xx soc: ixp4xx/qmgr: fix invalid __iomem access 2021-08-12 13:22:18 +02:00
kendryte
lantiq
mediatek Revert "ASoC: mediatek: Check for error clk pointer" 2022-02-08 18:30:36 +01:00
qcom PM: AVS: qcom-cpr: Use div64_ul instead of do_div 2022-01-27 10:54:17 +01:00
renesas
rockchip soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally 2021-09-15 09:50:31 +02:00
samsung soc: samsung: exynos-asv: handle reading revision register error 2021-03-04 11:38:32 +01:00
sifive
sunxi
tegra soc/tegra: fuse: Fix bitwise vs. logical OR warning 2021-12-22 09:30:54 +01:00
ti soc: ti: pruss: fix referenced node in error message 2022-01-27 10:54:12 +01:00
ux500
versatile
xilinx
zte
Kconfig
Makefile