]> 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)
commit718cf6e67d16cc14d5edaaa76bd792b4a84bf8d5
tree95be08af32cb701172e996435444968a40383abe
parenta42d236bd7240903e9d8a631da2e039c18e068c0
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