linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/2] RDMA: Constify static struct attribute_group
@ 2020-09-30 22:40 Rikard Falkeborn
  2020-09-30 22:40 ` [PATCH rdma-next 1/2] RDMA/core: Constify " Rikard Falkeborn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rikard Falkeborn @ 2020-09-30 22:40 UTC (permalink / raw)
  To: Doug Ledford, Jason Gunthorpe
  Cc: linux-rdma, linux-kernel, Rikard Falkeborn, Jack Wang,
	Danil Kipnis, Leon Romanovsky, Kamal Heib, Qiushi Wu

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-01 23:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 22:40 [PATCH rdma-next 0/2] RDMA: Constify static struct attribute_group Rikard Falkeborn
2020-09-30 22:40 ` [PATCH rdma-next 1/2] RDMA/core: Constify " Rikard Falkeborn
2020-09-30 22:40 ` [PATCH rdma-next 2/2] RDMA/rtrs: Constify static " Rikard Falkeborn
2020-10-01 23:48 ` [PATCH rdma-next 0/2] RDMA: " Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).