Skip to content

RDMA: Constify static struct attribute_group

Rikard Falkeborn linux-rdma lkml 1 version Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/core: Constify struct attribute_groupdrivers/infiniband/core/sysfs.c+6 -60 replies
2/2RDMA/rtrs: Constify static struct attribute_groupdrivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.28.0