summaryrefslogtreecommitdiff
path: root/include/linux/pinctrl
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-01-27 15:45:14 +0100
committerBen Hutchings <ben@decadent.org.uk>2018-03-19 18:59:12 +0000
commitb6912947161a3766d1542a4cc4d1e1ac105e09cc (patch)
treecfeccc92f915ff734dafbc44bfd9203b6cef2c36 /include/linux/pinctrl
parent676520e3ec3a190e5b78c643e740922ab65c4fd7 (diff)
x86/cpu/bugs: Make retpoline module warning conditional
commit e383095c7fe8d218e00ec0f83e4b95ed4e627b02 upstream. If sysfs is disabled and RETPOLINE not defined: arch/x86/kernel/cpu/bugs.c:97:13: warning: ‘spectre_v2_bad_module’ defined but not used [-Wunused-variable] static bool spectre_v2_bad_module; Hide it. Fixes: caf7501a1b4e ("module/retpoline: Warn about missing retpoline in module") Reported-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Woodhouse <dwmw2@infradead.org> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/pinctrl')
0 files changed, 0 insertions, 0 deletions