aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-06-28 22:02:48 +0800
committerShawn Guo <[email protected]>2022-07-05 08:41:20 +0800
commitedf12b913abb69abce4cd6996398a4ce23e5b047 (patch)
tree8cab5fe9decbcde2824d798ad576fdb8f7ddfd21 /drivers/usb/cdns3/cdns3-trace.c
parent1ec32a4f1c694b5424f6fab1a977d3e556c539bf (diff)
soc: fsl: guts: fix return value check in fsl_guts_init()
In case of error, of_iomap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test and return -ENOMEM as error value. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Michael Walle <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions