[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200930224004.24279-1-rikard.falkeborn@gmail.com>
Date: Thu, 1 Oct 2020 00:40:02 +0200
From: Rikard Falkeborn <rikard.falkeborn@...il.com>
To: Doug Ledford <dledford@...hat.com>, Jason Gunthorpe <jgg@...pe.ca>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
Rikard Falkeborn <rikard.falkeborn@...il.com>,
Jack Wang <jinpu.wang@...ud.ionos.com>,
Danil Kipnis <danil.kipnis@...ud.ionos.com>,
Leon Romanovsky <leon@...nel.org>,
Kamal Heib <kamalheib1@...il.com>, Qiushi Wu <wu000273@....edu>
Subject: [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(-)
--
2.28.0
Powered by blists - more mailing lists