Skip to content

platform/x86: Constify static attribute_group structs

Rikard Falkeborn lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: hdaps: Constify static attribute_group structdrivers/platform/x86/hdaps.c+1 -11 reply
2/4platform/x86: intel_pmt_crashlog: Constify static attribute_group structdrivers/platform/x86/intel_pmt_crashlog.c+1 -10 replies
3/4platform/x86: tc1100-wmi: Constify static attribute_group structdrivers/platform/x86/tc1100-wmi.c+1 -10 replies
4/4x86/platform/uv: Constify static attribute_group structdrivers/platform/x86/uv_sysfs.c+2 -21 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchJustin ErnstFrank Seidel
1/4R-b
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] platform/x86: Constify static attribute_group structs

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