Heinrich Schuchardt 258f79d5a1 scripts/checkpatch.pl: avoid false warning missing break
void foo(int a)
	switch (a) {
	case 'h':
		fun1();
		exit(1);
	default:
}

creates a warning "Possible switch case/default not preceded by break or
fallthrough comment".

exit( should be treated like return.

Link: http://lkml.kernel.org/r/20170910154618.25819-1-xypron.glpk@gmx.de
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-17 16:10:02 -08:00
..
2017-11-14 18:25:40 -08:00
2017-03-28 16:16:52 +02:00
2011-08-31 16:12:17 +02:00
2012-06-27 12:44:29 -07:00
2017-11-15 18:21:05 -08:00
2017-11-14 18:25:40 -08:00
2017-11-14 18:25:40 -08:00
2014-08-20 16:03:45 +02:00