diff options
author | 2020-12-02 20:46:47 -0500 | |
---|---|---|
committer | 2020-12-05 14:52:35 +0100 | |
commit | 2bf9545626f8d09f552ab86d0047a415fe9a07a0 (patch) | |
tree | eb881f4c4b3d02dbc9c537308f562ee2bb4884b1 /drivers/usb/cdns3/cdns3-imx.c | |
parent | i2c: mlxbf: select CONFIG_I2C_SLAVE (diff) | |
download | linux-dev-2bf9545626f8d09f552ab86d0047a415fe9a07a0.tar.xz linux-dev-2bf9545626f8d09f552ab86d0047a415fe9a07a0.zip |
i2c: mlxbf: Fix the return check of devm_ioremap and ioremap
devm_ioremap and ioremap may return NULL which cannot be checked
by IS_ERR.
Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Khalil Blaiech <kblaiech@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions