aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2023-07-26 23:11:43 +0000
committerKees Cook <[email protected]>2023-08-03 22:41:56 +0000
commitfcce1c6cb156d79debaf84f63233f146540031b1 (patch)
tree03f5de1de1341e7d5f04bc0ea4325fd83500d8a3 /scripts/gcc-plugins/gcc-common.h
parentEISA: Replace all non-returning strlcpy with strscpy (diff)
downloadkernel-fcce1c6cb156d79debaf84f63233f146540031b1.tar.gz
kernel-fcce1c6cb156d79debaf84f63233f146540031b1.zip
x86/paravirt: Fix tlb_remove_table function callback prototype warning
Under W=1, this warning is visible in Clang 16 and newer: arch/x86/kernel/paravirt.c:337:4: warning: cast from 'void (*)(struct mmu_gather *, struct page *)' to 'void (*)(struct mmu_gather *, void *)' converts to incompatible function type [-Wcast-function-type-strict] (void (*)(struct mmu_gather *, void *))tlb_remove_page, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Add a direct wrapper instead, which will make this warning (and potential KCFI failures) go away. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Cc: Juergen Gross <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sami Tolvanen <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Ajay Kaher <[email protected]> Cc: Alexey Makhalov <[email protected]> Cc: VMware PV-Drivers Reviewers <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: [email protected] Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions