diff options
author | Paolo Abeni <[email protected]> | 2023-11-30 13:04:15 +0100 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-11-30 13:08:09 +0100 |
commit | 7e0222686316f5506e51182f02c1d83ecc34c471 (patch) | |
tree | 2ff9f07b626c77fb7295eba1975b4edefb58b906 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
parent | 04447185dadbb2dfab2b5a3c73c76cbaccd8fbe1 (diff) | |
parent | 7ec1bb2ce64ba9528b1f67bf489dd5f6147d1f64 (diff) |
Merge branch 'net-ethernet-convert-to-platform-remove-callback-returning-void'
Uwe Kleine-König says:
====================
net: ethernet: Convert to platform remove callback returning void
in (implicit) v1 of this series
(https://lore.kernel.org/netdev/[email protected])
I tried to address the resource leaks in the three cpsw drivers. However
this is hard to get right without being able to test the changes. So
here comes a series that just converts all drivers below
drivers/net/ethernet to use .remove_new() and adds a comment about the
potential leaks for someone else to fix the problem.
See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
The TL;DR; is to prevent bugs like the three noticed here.
Note this series results in no change of behaviour apart from improving
the error message for the three cpsw drivers from
remove callback returned a non-zero value. This will be ignored.
to
Failed to resume device (-ESOMETHING)
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions