printk: Use fallthrough pseudo-keyword
PATCH 1/1 printk: Use fallthrough pseudo-keyword
Replace /* FALL THRU */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- kernel/printk/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/printk/printk.c +1 -1
@@ -1617,7 +1617,7 @@ int do_syslog(int type, char __user *buf, int len, int source)/* Read/clear last kernel messages */ case SYSLOG_ACTION_READ_CLEAR : clear = true; -/* FALL THRU */ + fallthrough;/* Read last kernel messages */ case SYSLOG_ACTION_READ_ALL :if (!buf || len <0 )
Signature · 1 line
2.27.0
Petr Mladek
maintainerQuoted 6 lines · Gustavo A. R. Silva
Replace /* FALL THRU */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
The patch is committed in printk/linux.git, branch for-5.10.
Best Regards,
Petr