diff options
author | Wang Xiaojun <wangxiaojun11@huawei.com> | 2020-12-03 02:46:47 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-12-05 14:52:35 +0100 |
commit | 2bf9545626f8d09f552ab86d0047a415fe9a07a0 (patch) | |
tree | eb881f4c4b3d02dbc9c537308f562ee2bb4884b1 /tools | |
parent | i2c: mlxbf: select CONFIG_I2C_SLAVE (diff) | |
download | linux-2bf9545626f8d09f552ab86d0047a415fe9a07a0.tar.xz linux-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 'tools')
0 files changed, 0 insertions, 0 deletions