]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/srpt: Add a newline when printing parameter 'srpt_service_guid' by sysfs
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Mon, 11 May 2020 07:37:09 +0000 (15:37 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 17 May 2020 23:37:52 +0000 (20:37 -0300)
commitb3e42eb5e9da3d509e45a21f2602ef80298d178e
tree95be08af32cb701172e996435444968a40383abe
parenta4398c1fb676d158f30afdb007c2a9d130c1d04c
RDMA/srpt: Add a newline when printing parameter 'srpt_service_guid' by sysfs

When I cat module parameter 'srpt_service_guid', it displays as follows.
It is better to add a newline for easy reading.

[root@hulk-202 ~]# cat /sys/module/ib_srpt/parameters/srpt_service_guid
0x0205cdfffe8346b9[root@hulk-202 ~]#

Link: https://lore.kernel.org/r/1589182629-27743-1-git-send-email-wangxiongfeng2@huawei.com
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c