42cc68868c
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
This issue was detected by using the Coccinelle software.
Fixes:
|
||
---|---|---|
.. | ||
function | ||
legacy | ||
udc | ||
Kconfig | ||
Makefile | ||
composite.c | ||
config.c | ||
configfs.c | ||
configfs.h | ||
epautoconf.c | ||
functions.c | ||
u_f.c | ||
u_f.h | ||
u_os_desc.h | ||
usbstring.c |