Replace /* fall through */ comment with pseudo-keyword macro fallthrough[1] [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Link: https://lkml.kernel.org/r/20210511140246.18868-1-jj251510319013@gmail.com
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -3391,7 +3391,7 @@ static void check_buffer(struct ring_buffer_per_cpu *cpu_buffer, · 3390 unmodified lines | ||
| 3391 | 3391 | case RINGBUF_TYPE_PADDING: |
| 3392 | 3392 | if (event->time_delta == 1) |
| 3393 | 3393 | break; |
| 3394 | − /* fall through */ | |
| 3394 | + fallthrough; | |
| 3395 | 3395 | case RINGBUF_TYPE_DATA: |
| 3396 | 3396 | ts += event->time_delta; |
| 3397 | 3397 | break; |