File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -1264,12 +1264,14 @@ static bool j1939_xtp_rx_cmd_bad_pgn(struct j1939_session *session,
1264
1264
break ;
1265
1265
1266
1266
case J1939_ETP_CMD_RTS :
1267
- case J1939_TP_CMD_RTS : /* fall through */
1267
+ fallthrough ;
1268
+ case J1939_TP_CMD_RTS :
1268
1269
abort = J1939_XTP_ABORT_BUSY ;
1269
1270
break ;
1270
1271
1271
1272
case J1939_ETP_CMD_CTS :
1272
- case J1939_TP_CMD_CTS : /* fall through */
1273
+ fallthrough ;
1274
+ case J1939_TP_CMD_CTS :
1273
1275
abort = J1939_XTP_ABORT_ECTS_UNXPECTED_PGN ;
1274
1276
break ;
1275
1277
@@ -1278,7 +1280,8 @@ static bool j1939_xtp_rx_cmd_bad_pgn(struct j1939_session *session,
1278
1280
break ;
1279
1281
1280
1282
case J1939_ETP_CMD_EOMA :
1281
- case J1939_TP_CMD_EOMA : /* fall through */
1283
+ fallthrough ;
1284
+ case J1939_TP_CMD_EOMA :
1282
1285
abort = J1939_XTP_ABORT_OTHER ;
1283
1286
break ;
1284
1287
@@ -1793,7 +1796,8 @@ static void j1939_xtp_rx_dat_one(struct j1939_session *session,
1793
1796
break ;
1794
1797
fallthrough ;
1795
1798
case J1939_TP_CMD_BAM :
1796
- case J1939_TP_CMD_CTS : /* fall through */
1799
+ fallthrough ;
1800
+ case J1939_TP_CMD_CTS :
1797
1801
if (skcb -> addr .type != J1939_ETP )
1798
1802
break ;
1799
1803
fallthrough ;
@@ -1996,7 +2000,8 @@ static void j1939_tp_cmd_recv(struct j1939_priv *priv, struct sk_buff *skb)
1996
2000
extd = J1939_ETP ;
1997
2001
fallthrough ;
1998
2002
case J1939_TP_CMD_BAM :
1999
- case J1939_TP_CMD_RTS : /* fall through */
2003
+ fallthrough ;
2004
+ case J1939_TP_CMD_RTS :
2000
2005
if (skcb -> addr .type != extd )
2001
2006
return ;
2002
2007
You can’t perform that action at this time.
0 commit comments