diff options
author | Peng Wu <wupeng58@huawei.com> | 2022-09-11 06:00:53 +0000 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-05 00:29:57 +0530 |
commit | 6e59419fd0a244dd55e53e798797f0697dec8b1c (patch) | |
tree | c66b6b094942f85f2e1c4b4f7ff85a23d91b178f /io_uring/kbuf.c | |
parent | 04948e757148f870a31f4887ea2239403f516c3c (diff) | |
download | lwn-6e59419fd0a244dd55e53e798797f0697dec8b1c.tar.gz lwn-6e59419fd0a244dd55e53e798797f0697dec8b1c.zip |
phy: sunplus: Fix an IS_ERR() vs NULL bug in sp_usb_phy_probe
The devm_ioremap() function returns NULL on error, it doesn't return
error pointers.
Fixes: 99d9ccd973852 ("phy: usb: Add USB2.0 phy driver for Sunplus SP7021")
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Link: https://lore.kernel.org/r/20220911060053.123594-1-wupeng58@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'io_uring/kbuf.c')
0 files changed, 0 insertions, 0 deletions