[PATCH rdma-next 0/2] RDMA: Constify static struct attribute_group

From: Rikard Falkeborn
Date: Wed Sep 30 2020 - 18:40:14 EST


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