ipmi/watchdog: add missing newlines when printing parameters by sysfs
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Tue, 21 Jul 2020 06:35:09 +0000 (14:35 +0800)
committerCorey Minyard <cminyard@mvista.com>
Tue, 21 Jul 2020 11:29:15 +0000 (06:29 -0500)
commit634b06def11cf7ecf6282c79735f08004e323983
treeef08b899964e3d47bdbe344377c636f581e56236
parenta7f0f92aa82fced7df891282b67387d247e44ca8
ipmi/watchdog: add missing newlines when printing parameters by sysfs

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

root@(none):/# cat /sys/module/ipmi_watchdog/parameters/action
resetroot@(none):/# cat /sys/module/ipmi_watchdog/parameters/preaction
pre_noneroot@(none):/# cat /sys/module/ipmi_watchdog/parameters/preop
preop_noneroot@(none):/#

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Message-Id: <1595313309-43881-1-git-send-email-wangxiongfeng2@huawei.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_watchdog.c