lkml.org 
[lkml]   [2021]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] platform/x86: Constify static attribute_group structs
Date
Constify a couple of static attribute_group structs which are never
modified to allow the compiler to put them in read-only memory.

Rikard Falkeborn (4):
platform/x86: hdaps: Constify static attribute_group struct
platform/x86: intel_pmt_crashlog: Constify static attribute_group
struct
platform/x86: tc1100-wmi: Constify static attribute_group struct
x86/platform/uv: Constify static attribute_group struct

drivers/platform/x86/hdaps.c | 2 +-
drivers/platform/x86/intel_pmt_crashlog.c | 2 +-
drivers/platform/x86/tc1100-wmi.c | 2 +-
drivers/platform/x86/uv_sysfs.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)

--
2.31.1

\
 
 \ /
  Last update: 2021-06-05 22:38    [W:0.044 / U:2.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site