Skip to contentSkip to conversation

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

PATCH New Marian Posteuca 1 participant 1 message Jul 20, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: dpaa2-ethsw: fix switch/case fallthrough warning

Fix the fallthrough warning that is reported by checkpatch.

---
 drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/fsl-dpaa2/ethsw/ethsw.c +1 -1
index 2fb75a7c9314..db10fd18914d 100644
@@ -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:
Signature · 1 line
2.26.2