diff options
| author | Stanislav Fomichev <[email protected]> | 2025-07-17 17:23:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-19 00:27:46 +0000 |
| commit | ffea1168346120df9417fcafd8f3a1c93033ae34 (patch) | |
| tree | de0e2b52150df2d27554c5004599ff4c9aabd85f /net/bridge/br_switchdev.c | |
| parent | selftests: rtnetlink: Add operational state test (diff) | |
| download | kernel-ffea1168346120df9417fcafd8f3a1c93033ae34.tar.gz kernel-ffea1168346120df9417fcafd8f3a1c93033ae34.zip | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/bridge/br_switchdev.c')
| -rw-r--r-- | net/bridge/br_switchdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_switchdev.c b/net/bridge/br_switchdev.c index 9a910cf0256e..fe3f7bbe86ee 100644 --- a/net/bridge/br_switchdev.c +++ b/net/bridge/br_switchdev.c @@ -837,7 +837,7 @@ int br_switchdev_port_offload(struct net_bridge_port *p, struct netdev_phys_item_id ppid; int err; - err = dev_get_port_parent_id(dev, &ppid, false); + err = netif_get_port_parent_id(dev, &ppid, false); if (err) return err; |
