mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
b62917a262
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:
|
||
---|---|---|
.. | ||
cryp_core.c | ||
cryp_irq.c | ||
cryp_irq.h | ||
cryp_irqp.h | ||
cryp_p.h | ||
cryp.c | ||
cryp.h | ||
Makefile |