On Wed, 26 Jul 2023 16:11:43 -0700, Kees Cook wrote:
> 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
On 27.07.23 01:11, Kees Cook wrote:
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
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]