diff options
author | Joe Perches <joe@perches.com> | 2020-04-06 20:10:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-04-07 10:43:43 -0700 |
commit | f36d3eb89a43047d3eba222a8132585da25cebfd (patch) | |
tree | 14adc531c348415ac1756565dec1685c95abbc0e /drivers/char/hpet.c | |
parent | a8972573eb5c784a9c199fedbfdfb694e0ca4233 (diff) | |
download | linux-f36d3eb89a43047d3eba222a8132585da25cebfd.tar.gz linux-f36d3eb89a43047d3eba222a8132585da25cebfd.tar.bz2 linux-f36d3eb89a43047d3eba222a8132585da25cebfd.zip |
checkpatch: prefer fallthrough; over fallthrough comments
commit 294f69e662d1 ("compiler_attributes.h: Add 'fallthrough' pseudo
keyword for switch/case use") added the pseudo keyword so add a test for
it to checkpatch.
Warn on a patch or use --strict for files.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/8b6c1b9031ab9f3cdebada06b8d46467f1492d68.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/hpet.c')
0 files changed, 0 insertions, 0 deletions