OpenCloudOS-Kernel/drivers/infiniband/ulp/srp
YueHaibing 33e8234600 RDMA/srp: Use DEVICE_ATTR_*() macros
Use DEVICE_ATTR_*() helpers instead of plain DEVICE_ATTR, which makes the
code a bit shorter and easier to read.

Link: https://lore.kernel.org/r/20210528125750.20788-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-05-28 20:40:29 -03:00
..
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ib_srp.c RDMA/srp: Use DEVICE_ATTR_*() macros 2021-05-28 20:40:29 -03:00
ib_srp.h RDMA/srp: Make struct scsi_cmnd and struct srp_request adjacent 2021-05-28 20:21:21 -03:00