summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2020-10-01 00:40:04 +0200
committerJason Gunthorpe <jgg@nvidia.com>2020-10-01 20:44:52 -0300
commit3c4e919b48f65860462f7cb94f2954a9a3fffbc4 (patch)
tree67bd9138b018512137105804c4df006bea5f8796 /drivers/infiniband/hw
parent42d5179c892e2d543fd25bdfbea98151189026ea (diff)
downloadlwn-3c4e919b48f65860462f7cb94f2954a9a3fffbc4.tar.gz
lwn-3c4e919b48f65860462f7cb94f2954a9a3fffbc4.zip
RDMA/rtrs: Constify static struct attribute_group
The only usage of these is to pass their address to sysfs_create_group() and sysfs_remove_group(), both which takes const pointers. Make it const to allow the compiler to put them in read-only memory. Link: https://lore.kernel.org/r/20200930224004.24279-3-rikard.falkeborn@gmail.com Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions