summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorMichael Walle <mwalle@kernel.org>2025-04-14 11:39:42 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-16 03:24:15 +0300
commit903d2b9f9efc5b3339d74015fcfc0d9fff276c4c (patch)
tree75aefb080eac3eea388d345bf4cf2fef7a0a9c49 /lib/mpi/mpi-inline.c
parent688abe1027d00b7d4b2ce2d8764a2ae5ec6d250b (diff)
downloadlinux-903d2b9f9efc5b3339d74015fcfc0d9fff276c4c.tar.xz
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 <mwalle@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250414083942.4015060-1-mwalle@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions