]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn when missing newline in return sysfs_emit() formats
authorJoe Perches <joe@perches.com>
Fri, 7 May 2021 01:03:55 +0000 (18:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:12 +0000 (19:24 -0700)
commit65b009cf5ec3917d89af6338da9479a376a55764
tree0636902b357d3ea6e82e6dfefc58ff778cea85f0
parent26e30b0976196786a19f2ef955ccea1901283b86
checkpatch: warn when missing newline in return sysfs_emit() formats

return sysfs_emit() uses should include a newline.

Suggest adding a newline when one is missing.
Add one using --fix too.

Link: https://lkml.kernel.org/r/aa1819fa5faf786573df298e5e2e7d357ba7d4ad.camel@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