aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2018-02-10 14:53:14 +0000
committerIngo Molnar <[email protected]>2018-02-11 10:37:39 +0000
commitc80c5ec1b2fa8d3675fc2a6807a64771ea156698 (patch)
tree4dfc65112c703e0f24147a8d04638494539fbef3 /drivers/acpi/cppc_acpi.c
parentMerge branch 'linus' into x86/urgent, to pick up dependent commits (diff)
downloadkernel-c80c5ec1b2fa8d3675fc2a6807a64771ea156698.tar.gz
kernel-c80c5ec1b2fa8d3675fc2a6807a64771ea156698.zip
x86/MCE: Fix build warning introduced by "x86: do not use print_symbol()"
The following commit: 7b6061627eb8 ("x86: do not use print_symbol()") ... introduced a new build warning on 32-bit x86: arch/x86/kernel/cpu/mcheck/mce.c:237:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] pr_cont("{%pS}", (void *)m->ip); ^ Fix the type mismatch between the 'void *' expected by %pS and the mce->ip field which is u64 by casting to long. Signed-off-by: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tony Luck <[email protected]> Cc: [email protected] Fixes: 7b6061627eb8 ("x86: do not use print_symbol()") Link: http://lkml.kernel.org/r/[email protected] [ Cleaned up the changelog. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions