diff options
Diffstat (limited to 'net/switchdev/switchdev.c')
-rw-r--r-- | net/switchdev/switchdev.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c index 5df9d1138ac9..cd78253de31d 100644 --- a/net/switchdev/switchdev.c +++ b/net/switchdev/switchdev.c | |||
@@ -556,10 +556,11 @@ EXPORT_SYMBOL_GPL(unregister_switchdev_notifier); | |||
556 | * Call all network notifier blocks. | 556 | * Call all network notifier blocks. |
557 | */ | 557 | */ |
558 | int call_switchdev_notifiers(unsigned long val, struct net_device *dev, | 558 | int call_switchdev_notifiers(unsigned long val, struct net_device *dev, |
559 | struct switchdev_notifier_info *info) | 559 | struct switchdev_notifier_info *info, |
560 | struct netlink_ext_ack *extack) | ||
560 | { | 561 | { |
561 | info->dev = dev; | 562 | info->dev = dev; |
562 | info->extack = NULL; | 563 | info->extack = extack; |
563 | return atomic_notifier_call_chain(&switchdev_notif_chain, val, info); | 564 | return atomic_notifier_call_chain(&switchdev_notif_chain, val, info); |
564 | } | 565 | } |
565 | EXPORT_SYMBOL_GPL(call_switchdev_notifiers); | 566 | EXPORT_SYMBOL_GPL(call_switchdev_notifiers); |