diff options
Diffstat (limited to 'net/core/lock_debug.c')
-rw-r--r-- | net/core/lock_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/lock_debug.c b/net/core/lock_debug.c index 598c443ef2f3..6fade574bc2a 100644 --- a/net/core/lock_debug.c +++ b/net/core/lock_debug.c @@ -18,6 +18,7 @@ int netdev_debug_event(struct notifier_block *nb, unsigned long event, /* Keep enum and don't add default to trigger -Werror=switch */ switch (cmd) { + case NETDEV_CHANGE: case NETDEV_REGISTER: case NETDEV_UP: case NETDEV_XDP_FEAT_CHANGE: @@ -25,7 +26,6 @@ int netdev_debug_event(struct notifier_block *nb, unsigned long event, fallthrough; case NETDEV_DOWN: case NETDEV_REBOOT: - case NETDEV_CHANGE: case NETDEV_UNREGISTER: case NETDEV_CHANGEMTU: case NETDEV_CHANGEADDR: |