diff options
author | Marian Posteuca <posteuca@mutex.one> | 2020-07-20 09:42:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-21 17:52:47 +0300 |
commit | 2f248a80223257be094c694a75de73aeab0a6530 (patch) | |
tree | 0543f04b219a8f5e6618a4f1bfd0211be97e9786 /drivers/staging/fsl-dpaa2 | |
parent | 846fbc621f24e2f00de3e27d6bbd0fe4638b7e01 (diff) | |
download | linux-2f248a80223257be094c694a75de73aeab0a6530.tar.xz |
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>
Diffstat (limited to 'drivers/staging/fsl-dpaa2')
-rw-r--r-- | drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index 2fb75a7c9314..db10fd18914d 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -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: |