commit | bb14bfc7eb927b47717d82ba7ecc8345d9099cf4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 03 12:55:31 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 03 14:22:00 2021 +0000 |
tree | 9cb9aca35f36151235760b34c34605fdc7f2422c | |
parent | f6882b8fac60f928fda51efc64274463806f956c [diff] |
net: lan966x: fix a IS_ERR() vs NULL check in lan966x_create_targets() The devm_ioremap() function does not return error pointers. It returns NULL. Fixes: db8bcaad5393 ("net: lan966x: add the basic lan966x driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>