[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1500535305-9369-1-git-send-email-arvind.yadav.cs@gmail.com>
Date: Thu, 20 Jul 2017 12:51:38 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
x86@...nel.org, bp@...en8.de, tony.luck@...el.com
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 0/7] constify x86 attribute_group structures.
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 1/7] perf: x86: intel: uncore: constify attribute_group structures.
[PATCH 2/7] perf: x86: intel: uncore_nhmex: constify attribute_group structures.
[PATCH 3/7] perf: x86: intel: uncore_snb: constify attribute_group structures.
[PATCH 4/7] perf: x86: intel: uncore_snbep: constify attribute_group structures.
[PATCH 5/7] x86: ksysfs: constify attribute_group structures.
[PATCH 6/7] x86: therm_throt: constify attribute_group structures.
[PATCH 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
Powered by blists - more mailing lists