aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorThomas Huth <[email protected]>2022-04-14 10:30:31 +0000
committerPaolo Bonzini <[email protected]>2022-04-21 17:16:14 +0000
commit266a19a0bc4fbfab4d981a47640ca98972a01865 (patch)
tree46e1ccfb80fb4aad173c8ff7302b789d17a39fa1 /drivers/acpi/cppc_acpi.c
parentKVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog (diff)
downloadkernel-266a19a0bc4fbfab4d981a47640ca98972a01865.tar.gz
kernel-266a19a0bc4fbfab4d981a47640ca98972a01865.zip
KVM: selftests: Silence compiler warning in the kvm_page_table_test
When compiling kvm_page_table_test.c, I get this compiler warning with gcc 11.2: kvm_page_table_test.c: In function 'pre_init_before_test': ../../../../tools/include/linux/kernel.h:44:24: warning: comparison of distinct pointer types lacks a cast 44 | (void) (&_max1 == &_max2); \ | ^~ kvm_page_table_test.c:281:21: note: in expansion of macro 'max' 281 | alignment = max(0x100000, alignment); | ^~~ Fix it by adjusting the type of the absolute value. Signed-off-by: Thomas Huth <[email protected]> Reviewed-by: Claudio Imbrenda <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions