mirror of https://gitee.com/openkylin/linux.git
staging: dpaa2-ethsw: fix switch/case fallthrough warning
Fix the fallthrough warning that is reported by checkpatch. Signed-off-by: Marian Posteuca <posteuca@mutex.one> Link: https://lore.kernel.org/r/20200720064205.10323-1-posteuca@mutex.one Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
846fbc621f
commit
2f248a8022
|
@ -1362,7 +1362,7 @@ static int port_switchdev_blocking_event(struct notifier_block *unused,
|
|||
return NOTIFY_DONE;
|
||||
|
||||
switch (event) {
|
||||
case SWITCHDEV_PORT_OBJ_ADD: /* fall through */
|
||||
case SWITCHDEV_PORT_OBJ_ADD:
|
||||
case SWITCHDEV_PORT_OBJ_DEL:
|
||||
return ethsw_switchdev_port_obj_event(event, dev, ptr);
|
||||
case SWITCHDEV_PORT_ATTR_SET:
|
||||
|
|
Loading…
Reference in New Issue