mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 16:55:08 +07:00
4d3ac66624
The change fixes potential oops while accessing iomem on invalid
address, if devm_ioremap_resource() fails due to some reason.
The devm_ioremap_resource() function returns ERR_PTR() and never
returns NULL, which makes useless a following check for NULL.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Fixes:
|
||
---|---|---|
.. | ||
clk-bcm63xx.c | ||
clk-bcm281xx.c | ||
clk-bcm2835-aux.c | ||
clk-bcm2835.c | ||
clk-bcm21664.c | ||
clk-cygnus.c | ||
clk-iproc-armpll.c | ||
clk-iproc-asiu.c | ||
clk-iproc-pll.c | ||
clk-iproc.h | ||
clk-kona-setup.c | ||
clk-kona.c | ||
clk-kona.h | ||
clk-ns2.c | ||
clk-nsp.c | ||
Kconfig | ||
Makefile |