An end to implicit fall-throughs in the kernel
An end to implicit fall-throughs in the kernel
Posted Aug 16, 2019 17:22 UTC (Fri) by mirabilos (subscriber, #84359)Parent article: An end to implicit fall-throughs in the kernel
BSD lint(1) https://www.mirbsd.org/htman/i386/man1/lint.htm wants /* FALLTHROUGH */ (or /* FALLTHRU */ which is deprecated though).
The (GNU) C præprocessor and GCC also have the option -CC, which is “generally used to support lint comments” but has potentially disturbing side effects. It could be used to define a macro expanding to a comment, though.