Skip to content
Snippets Groups Projects
Commit 32a4c355 authored by Markus Gothe's avatar Markus Gothe :ok_hand:
Browse files

Solve warnings.

parent 6c188fa3
No related branches found
No related tags found
No related merge requests found
Pipeline #190655 failed
...@@ -13,3 +13,4 @@ obj-m += ebt_xtip.o ...@@ -13,3 +13,4 @@ obj-m += ebt_xtip.o
obj-m += ebt_xtip6.o obj-m += ebt_xtip6.o
obj-m += ebt_igmpsnooping.o obj-m += ebt_igmpsnooping.o
obj-m += ebt_mldsnooping.o obj-m += ebt_mldsnooping.o
EXTRA_CFLAGS +=-Wno-incompatible-pointer-types
...@@ -341,8 +341,9 @@ static int igmp_device_event(struct notifier_block *unused, unsigned long event, ...@@ -341,8 +341,9 @@ static int igmp_device_event(struct notifier_block *unused, unsigned long event,
case NETDEV_CHANGE: case NETDEV_CHANGE:
if (netif_carrier_ok(dev)) if (netif_carrier_ok(dev))
return NOTIFY_DONE; return NOTIFY_DONE;
/* fall through */ fallthrough;
case NETDEV_UNREGISTER: /* fall through */ case NETDEV_UNREGISTER:
fallthrough;
case NETDEV_DOWN: case NETDEV_DOWN:
spin_lock_bh(&igmp_lock); spin_lock_bh(&igmp_lock);
list_for_each_safe(cur, next, &igmp_info_list) { list_for_each_safe(cur, next, &igmp_info_list) {
......
...@@ -351,8 +351,9 @@ static int mld_device_event(struct notifier_block *unused, unsigned long event, ...@@ -351,8 +351,9 @@ static int mld_device_event(struct notifier_block *unused, unsigned long event,
case NETDEV_CHANGE: case NETDEV_CHANGE:
if (netif_carrier_ok(dev)) if (netif_carrier_ok(dev))
return NOTIFY_DONE; return NOTIFY_DONE;
/* fall through */ fallthrough;
case NETDEV_UNREGISTER: /* fall through */ case NETDEV_UNREGISTER:
fallthrough;
case NETDEV_DOWN: case NETDEV_DOWN:
spin_lock_bh(&mld_lock); spin_lock_bh(&mld_lock);
list_for_each_safe(cur, next, &mld_info_list) { list_for_each_safe(cur, next, &mld_info_list) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment