diff options
| author | Michael Walle <[email protected]> | 2025-04-14 08:39:42 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-04-16 00:24:15 +0000 |
| commit | 903d2b9f9efc5b3339d74015fcfc0d9fff276c4c (patch) | |
| tree | 75aefb080eac3eea388d345bf4cf2fef7a0a9c49 /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | octeontx2-pf: handle otx2_mbox_get_rsp errors (diff) | |
| download | kernel-903d2b9f9efc5b3339d74015fcfc0d9fff276c4c.tar.gz kernel-903d2b9f9efc5b3339d74015fcfc0d9fff276c4c.zip | |
net: ethernet: ti: am65-cpsw: fix port_np reference counting
A reference to the device tree node is stored in a private struct, thus
the reference count has to be incremented. Also, decrement the count on
device removal and in the error path.
Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
