]> git.ipfire.org Git - thirdparty/linux.git/commit
net: s/dev_get_port_parent_id/netif_get_port_parent_id/
authorStanislav Fomichev <sdf@fomichev.me>
Thu, 17 Jul 2025 17:23:27 +0000 (10:23 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Jul 2025 00:27:46 +0000 (17:27 -0700)
commitffea1168346120df9417fcafd8f3a1c93033ae34
treede0e2b52150df2d27554c5004599ff4c9aabd85f
parent25250f40e2a9cade7ef294af8bee0b2bd0afca2d
net: s/dev_get_port_parent_id/netif_get_port_parent_id/

Commit cc34acd577f1 ("docs: net: document new locking reality")
introduced netif_ vs dev_ function semantics: the former expects locked
netdev, the latter takes care of the locking. We don't strictly
follow this semantics on either side, but there are more dev_xxx handlers
now that don't fit. Rename them to netif_xxx where appropriate.

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250717172333.1288349-2-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
include/linux/netdevice.h
net/bridge/br_switchdev.c
net/core/dev.c
net/core/net-sysfs.c
net/core/rtnetlink.c
net/ipv4/ipmr.c