OSDN Git Service

printk: Use fallthrough pseudo-keyword
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 2 Oct 2020 22:46:27 +0000 (17:46 -0500)
committerPetr Mladek <pmladek@suse.com>
Mon, 5 Oct 2020 13:56:58 +0000 (15:56 +0200)
commit4e797e6ec79c0705791c14f3e60f38b01c78ea1d
tree78ee0c7ec936199354c27ee6ef372f857013aad5
parent36d818f610f218e9e8711bf498b62a27778dae3f
printk: Use fallthrough pseudo-keyword

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

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20201002224627.GA30475@embeddedor
kernel/printk/printk.c