diff options
author | Dan Carpenter <[email protected]> | 2021-12-03 12:55:31 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-03 14:22:00 +0000 |
commit | bb14bfc7eb927b47717d82ba7ecc8345d9099cf4 (patch) | |
tree | 9cb9aca35f36151235760b34c34605fdc7f2422c /tools/perf/scripts/python/stat-cpi.py | |
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 <[email protected]>
Reviewed-by: Horatiu Vultur <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions