linux-stable/drivers/soc/fsl
Jiasheng Jiang a222fd8541 soc: fsl: qe: Check of ioremap return value
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>
2022-02-18 17:11:23 -06:00
..
dpio bus: fsl-mc: fsl-mc-allocator: Rework MSI handling 2021-12-16 22:16:41 +01:00
qbman cpumask: replace cpumask_next_* with cpumask_first_* where appropriate 2022-01-15 08:47:31 -08:00
qe soc: fsl: qe: Check of ioremap return value 2022-02-18 17:11:23 -06:00
Kconfig soc: fsl: dpio: add Net DIM integration 2021-10-15 14:32:41 +01:00
Makefile soc: fsl: add RCPM driver 2019-11-12 15:26:05 -06:00
dpaa2-console.c soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read 2021-10-21 18:19:52 -05:00
guts.c soc: fsl: guts: Add a missing memory allocation failure check 2022-02-18 17:11:20 -06:00
rcpm.c soc: fsl: rcpm: Make use of the helper function devm_platform_ioremap_resource() 2021-10-21 19:37:32 -05:00