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)
commitfbe745416d11b1a17c35a7c7f0ef6f4dbe5a7573
tree0636902b357d3ea6e82e6dfefc58ff778cea85f0
parente13d04ec45b07388d3c38c0e18a4d0aa4841b0c3
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