Re: [PATCH] smp: fix smp_call_function_single_async prototype
From: Nick Desaulniers
Date: Thu Apr 29 2021 - 14:17:24 EST
(replying manually to
https://lore.kernel.org/lkml/20210429150940.3256656-1-arnd@xxxxxxxxxx/)
Thanks for the patch; with this applied I observe the following new warnings
though (for x86_64 defconfig; make LLVM=1 LLVM_IAS=1 -j72)
kernel/smp.c:515:19: warning: passing 8-byte aligned argument to 32-byte
aligned parameter 1 of 'csd_lock_record' may result in an unaligned pointer
access [-Walign-mismatch]
csd_lock_record(csd);
^
kernel/smp.c:516:14: warning: passing 8-byte aligned argument to 32-byte
aligned parameter 1 of 'csd_unlock' may result in an unaligned pointer access
[-Walign-mismatch]
csd_unlock(csd);
^
kernel/smp.c:525:14: warning: passing 8-byte aligned argument to 32-byte
aligned parameter 1 of 'csd_unlock' may result in an unaligned pointer access
[-Walign-mismatch]
csd_unlock(csd);
^