Constify a couple of static struct attribute_group that are never
modified to allow the compiler to put them in read-only memory.

Rikard Falkeborn (2):
  RDMA/core: Constify struct attribute_group
  RDMA/rtrs: Constify static struct attribute_group

 drivers/infiniband/core/sysfs.c              | 12 ++++++------
 drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c |  6 +++---
 drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c |  4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)

-- 
2.28.0

Reply via email to