Re: [PATCH] sparc: Unbreak the build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Aug 2022 13:58:42 -0700, Bart Van Assche wrote:
> Fix the following build errors:
> 
> arch/sparc/mm/srmmu.c: In function ‘smp_flush_page_for_dma’:
> arch/sparc/mm/srmmu.c:1639:13: error: cast between incompatible function types from ‘void (*)(long unsigned int)’ to ‘void (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)’ [-Werror=cast-function-type]
>  1639 |         xc1((smpfunc_t) local_ops->page_for_dma, page);
>       |             ^
> arch/sparc/mm/srmmu.c: In function ‘smp_flush_cache_mm’:
> arch/sparc/mm/srmmu.c:1662:29: error: cast between incompatible function types from ‘void (*)(struct mm_struct *)’ to ‘void (*)(long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)’ [-Werror=cast-function-type]
>  1662 |                         xc1((smpfunc_t) local_ops->cache_mm, (unsigned long) mm);
>       |
> [ ... ]
> 
> [...]

I can take this, since it's related to the the hardening work. Dave,
let me know if you'd rather I drop it.

Applied to for-next/hardening, thanks!

[1/1] sparc: Unbreak the build
      https://git.kernel.org/kees/c/3052b17c604c

-- 
Kees Cook




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux