lkml.org 
[lkml]   [2020]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH rdma-next 0/2] RDMA: Constify static struct attribute_group
Date
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

\
 
 \ /
  Last update: 2020-10-01 00:40    [W:0.038 / U:6.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site