]> git.baikalelectronics.ru Git - kernel.git/commit
fs/proc/consoles.c: use seq_putc() in show_console_dev()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 6 Feb 2018 23:37:34 +0000 (15:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:44 +0000 (18:32 -0800)
commit5b73924069c634277c0e5445dfc7422b9d519e6c
treec8d33033385eb30c277564223ab73e82dbfebaa7
parent8c3d9717a2e7a1897df8d495055ce3cea8788a89
fs/proc/consoles.c: use seq_putc() in show_console_dev()

A single character (line break) should be put into a sequence.  Thus use
the corresponding function "seq_putc".

This issue was detected by using the Coccinelle software.

Link: http://lkml.kernel.org/r/04fb69fe-d820-9141-820f-07e9a48f4635@users.sourceforge.net
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/consoles.c