]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: ati_remote2 - add missing newlines when printing module parameters
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Wed, 22 Jul 2020 05:24:24 +0000 (22:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Oct 2020 09:56:00 +0000 (11:56 +0200)
commit624143319921b3561c8c79c135eb3d6f76c91b2b
tree865e38091dc94e24ca672875f259aae0cc6898b1
parent2cdb64863860d7e47bedbf92edafb194c513880b
Input: ati_remote2 - add missing newlines when printing module parameters

commit 37bd9e803daea816f2dc2c8f6dc264097eb3ebd2 upstream.

When I cat some module parameters by sysfs, it displays as follows. It's
better to add a newline for easy reading.

root@syzkaller:~# cat /sys/module/ati_remote2/parameters/mode_mask
0x1froot@syzkaller:~# cat /sys/module/ati_remote2/parameters/channel_mask
0xffffroot@syzkaller:~#

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/20200720092148.9320-1-wangxiongfeng2@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/misc/ati_remote2.c