Commit 2f248a80 authored by Marian Posteuca's avatar Marian Posteuca Committed by Greg Kroah-Hartman

staging: dpaa2-ethsw: fix switch/case fallthrough warning

Fix the fallthrough warning that is reported by checkpatch.
Signed-off-by: default avatarMarian Posteuca <posteuca@mutex.one>
Link: https://lore.kernel.org/r/20200720064205.10323-1-posteuca@mutex.oneSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 846fbc62
...@@ -1362,7 +1362,7 @@ static int port_switchdev_blocking_event(struct notifier_block *unused, ...@@ -1362,7 +1362,7 @@ static int port_switchdev_blocking_event(struct notifier_block *unused,
return NOTIFY_DONE; return NOTIFY_DONE;
switch (event) { switch (event) {
case SWITCHDEV_PORT_OBJ_ADD: /* fall through */ case SWITCHDEV_PORT_OBJ_ADD:
case SWITCHDEV_PORT_OBJ_DEL: case SWITCHDEV_PORT_OBJ_DEL:
return ethsw_switchdev_port_obj_event(event, dev, ptr); return ethsw_switchdev_port_obj_event(event, dev, ptr);
case SWITCHDEV_PORT_ATTR_SET: case SWITCHDEV_PORT_ATTR_SET:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment