diff options
author | Yang Yingliang <[email protected]> | 2022-10-08 16:39:42 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-09 20:01:32 +0100 |
commit | 557f050166e523ce86018d7a43e7d543d9598b3d (patch) | |
tree | 6d1f87a2396fb2d40163eb3a1e87c46f3dbd1735 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 897fab7a726aa461ad0dcda7c345d5261bb6a0ca (diff) |
net: dsa: fix wrong pointer passed to PTR_ERR() in dsa_port_phylink_create()
Fix wrong pointer passed to PTR_ERR() in dsa_port_phylink_create() to print
error message.
Fixes: cf5ca4ddc37a ("net: dsa: don't leave dangling pointers in dp->pl when failing")
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions