public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] constify x86 attribute_group structures.
@ 2017-07-20 11:30 Arvind Yadav
  2017-07-20 11:30 ` [PATCH v2 1/7] perf: x86: intel: uncore: constify " Arvind Yadav
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Arvind Yadav @ 2017-07-20 11:30 UTC (permalink / raw)
  To: tglx, mingo, hpa, x86, bp, tony.luck; +Cc: linux-kernel

attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> and 'uncore.h'
work with const attribute_group. So mark the non-const structs as const.

Arvind Yadav (7):
  [PATCH v2 1/7] perf: x86: intel: uncore: constify attribute_group structures.
  [PATCH v2 2/7] perf: x86: intel: uncore: constify attribute_group structures.
  [PATCH v2 3/7] perf: x86: intel: uncore: constify attribute_group structures.
  [PATCH v2 4/7] perf: x86: intel: uncore: constify attribute_group structures.
  [PATCH v2 5/7] x86: ksysfs: constify attribute_group structures.
  [PATCH v2 6/7] x86: therm_throt: constify attribute_group structures.
  [PATCH v2 7/7] x86: microcode: constify attribute_group structures.

 arch/x86/events/intel/uncore.c           |  2 +-
 arch/x86/events/intel/uncore_nhmex.c     | 12 ++++-----
 arch/x86/events/intel/uncore_snb.c       |  6 ++---
 arch/x86/events/intel/uncore_snbep.c     | 42 ++++++++++++++++----------------
 arch/x86/kernel/cpu/mcheck/therm_throt.c |  2 +-
 arch/x86/kernel/cpu/microcode/core.c     |  4 +--
 arch/x86/kernel/ksysfs.c                 |  4 +--
 7 files changed, 36 insertions(+), 36 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-08-18  9:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 11:30 [PATCH v2 0/7] constify x86 attribute_group structures Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 1/7] perf: x86: intel: uncore: constify " Arvind Yadav
2017-08-18  9:33   ` [tip:x86/urgent] x86: Constify " tip-bot for Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 2/7] perf: x86: intel: uncore_nhmex: constify " Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 3/7] perf: x86: intel: uncore_snb: " Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 4/7] perf: x86: intel: uncore_snbep: " Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 5/7] x86: ksysfs: " Arvind Yadav
2017-07-20 11:30 ` [PATCH v2 6/7] x86: therm_throt: " Arvind Yadav
2017-07-20 15:58   ` Borislav Petkov
2017-07-20 11:30 ` [PATCH v2 7/7] x86: microcode: " Arvind Yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox