diff options
author | Peng Wu <[email protected]> | 2022-06-28 13:09:20 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-29 20:57:11 -0700 |
commit | 626af58bad5817af442d992f9966a7bf793f1562 (patch) | |
tree | 3eba80978be5eb0bb17adfcb0bbd4bc33de292a9 /kernel/sysctl.c | |
parent | 3ce7547e5b710cb90e1150f9bb867c133576441a (diff) |
net: dsa: rzn1-a5psw: fix a NULL vs IS_ERR() check in a5psw_probe()
The devm_platform_ioremap_resource() function never returns NULL.
It returns error pointers.
Signed-off-by: Peng Wu <[email protected]>
Reported-by: Hulk Robot <[email protected]>
Reviewed-by: Clément Léger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions