Replace /* FALL THRU */ comment with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Unified · Split
| @@ -1567,7 +1567,7 @@ int do_syslog(int type, char __user *buf, int len, int source) · 1566 unmodified lines | ||
| 1567 | 1567 | /* Read/clear last kernel messages */ |
| 1568 | 1568 | case SYSLOG_ACTION_READ_CLEAR: |
| 1569 | 1569 | clear = true; |
| 1570 | − /* FALL THRU */ | |
| 1570 | + fallthrough; | |
| 1571 | 1571 | /* Read last kernel messages */ |
| 1572 | 1572 | case SYSLOG_ACTION_READ_ALL: |
| 1573 | 1573 | if (!buf || len < 0) |