]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - add a newline when printing 'proto' by sysfs
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Wed, 22 Jul 2020 05:24:07 +0000 (22:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Jul 2020 05:33:27 +0000 (22:33 -0700)
commit9aac2f41a8b969802ccff7d3a63aa6668451ff61
tree41eb33a3ab095940360bbc2274cba70d538aaff2
parente23e5ce0932bd94a390970f4a6605285bf99baf1
Input: psmouse - add a newline when printing 'proto' by sysfs

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

root@syzkaller:~# cat /sys/module/psmouse/parameters/proto
autoroot@syzkaller:~#

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/20200720073846.120724-1-wangxiongfeng2@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c