aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2019-03-15 08:14:10 +0000
committerIngo Molnar <[email protected]>2019-03-15 12:12:42 +0000
commitf764c58b7faa26f5714e6907f892abc2bc0de4f8 (patch)
treedf20e4d6e28b4c39c67dac49be0f5d22af2f2d67 /drivers/fpga/fpga-mgr.c
parentperf/x86/intel: Fix memory corruption (diff)
downloadkernel-f764c58b7faa26f5714e6907f892abc2bc0de4f8.tar.gz
kernel-f764c58b7faa26f5714e6907f892abc2bc0de4f8.zip
perf/x86: Fixup typo in stub functions
Guenter reported a build warning for CONFIG_CPU_SUP_INTEL=n: > With allmodconfig-CONFIG_CPU_SUP_INTEL, this patch results in: > > In file included from arch/x86/events/amd/core.c:8:0: > arch/x86/events/amd/../perf_event.h:1036:45: warning: ‘struct cpu_hw_event’ declared inside parameter list will not be visible outside of this definition or declaration > static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu) While harmless (an unsed pointer is an unused pointer, no matter the type) it needs fixing. Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Fixes: d01b1f96a82e ("perf/x86/intel: Make cpuc allocations consistent") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions