checkpatch: warn on logging continuations
authorJoe Perches <joe@perches.com>
Fri, 24 Feb 2017 23:01:31 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:57 +0000 (17:46 -0800)
commit45c55e92fcee992c05737e65ce0b1d7a36edde69
tree20a3ea0079dbe9899f60e5ecec669c2b8249bfea
parent77cb8546bcd733c95bafe6b47481e5788e0e44d0
checkpatch: warn on logging continuations

pr_cont(...) and printk(KERN_CONT ...) uses should be discouraged
as their output can be interleaved by multiple logging processes.

Link: http://lkml.kernel.org/r/7100ba00098694ec81471a299583ed068975fd05.1483465888.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl