Subject: Re: linux-next: Tree for Dec 11 (drivers/perf/riscv_pmu_sbi.c)

From: Randy Dunlap <[email-masked]>
Date: Mon, 11 Dec 2023 13:22:23 -0800

On 12/10/23 22:25, Stephen Rothwell wrote:
> Hi all,
> Changes since 20231208:

on riscv32:

../drivers/perf/riscv_pmu_sbi.c:1015:35: error: initialization of 'int (*)(const struct ctl_table *, int,  void *, size_t *, loff_t *)' {aka 'int (*)(const struct ctl_table *, int,  void *, unsigned int *, long long int *)'} from incompatible pointer type 'int (*)(struct ctl_table *, int,  void *, size_t *, loff_t *)' {aka 'int (*)(struct ctl_table *, int,  void *, unsigned int *, long long int *)'} [-Werror=incompatible-pointer-types]
 1015 |                 .proc_handler   = riscv_pmu_proc_user_access_handler,
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/perf/riscv_pmu_sbi.c:1015:35: note: (near initialization for 'sbi_pmu_sysctl_table[0].proc_handler')

Full randconfig file is attached.

-- 
#Randy
https://people.kernel.org/tglx/notes-about-netiquette
https://subspace.kernel.org/etiquette.html