[gustavoars:for-next/cast-function] BUILD REGRESSION 21078041965eb5a2e83d296690a93243611a3c27
From: kernel test robot
Date: Fri Oct 15 2021 - 06:40:37 EST
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-next/cast-function
branch HEAD: 21078041965eb5a2e83d296690a93243611a3c27 Makefile: Enable -Wcast-function-type
Error/Warning in current branch:
include/linux/ftrace.h:49:41: warning: 'struct ftrace_regs' declared inside parameter list will not be visible outside of this definition or declaration
include/linux/ftrace.h:49:62: warning: 'struct ftrace_regs' declared inside parameter list will not be visible outside of this definition or declaration
kernel/trace/ftrace.c:7029:6: error: conflicting types for 'arch_ftrace_ops_list_func'
possible Error/Warning in current branch (please contact us if interested):
kernel/bpf/hashtab.c:671:26: warning: cast from 'void *(*)(struct bpf_map *, void *)' to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12472:16: warning: cast from 'unsigned int (*)(const void *, const struct bpf_insn *)' to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12953:17: warning: cast from 'void *(*)(struct bpf_map *, void *)' to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12957:17: warning: cast from 'int (*)(struct bpf_map *, void *, void *, u64)' (aka 'int (*)(struct bpf_map *, void *, void *, unsigned long long)') to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12961:17: warning: cast from 'int (*)(struct bpf_map *, void *)' to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12965:17: warning: cast from 'int (*)(struct bpf_map *, void *, u64)' (aka 'int (*)(struct bpf_map *, void *, unsigned long long)') to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
kernel/bpf/verifier.c:12977:17: warning: cast from 'int (*)(struct bpf_map *, u32, u64)' (aka 'int (*)(struct bpf_map *, unsigned int, unsigned long long)') to 'u64 (*)(u64, u64, u64, u64, u64)' (aka 'unsigned long long (*)(unsigned long long, unsigned long long, unsigned long long, unsigned long long, unsigned long long)') converts to incompatible function type [-Wcast-function-type]
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- i386-debian-10.3
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- i386-randconfig-a001-20211014
| |-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| `-- kernel-trace-ftrace.c:error:conflicting-types-for-arch_ftrace_ops_list_func
|-- i386-randconfig-a005-20211014
| |-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| `-- kernel-trace-ftrace.c:error:conflicting-types-for-arch_ftrace_ops_list_func
|-- i386-randconfig-c001-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- i386-randconfig-c021-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- i386-randconfig-c023-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- i386-randconfig-r001-20211014
| |-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| `-- kernel-trace-ftrace.c:error:conflicting-types-for-arch_ftrace_ops_list_func
|-- i386-randconfig-r035-20211014
| |-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
| `-- kernel-trace-ftrace.c:error:conflicting-types-for-arch_ftrace_ops_list_func
|-- i386-randconfig-s001-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- i386-randconfig-s002-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- parisc-allyesconfig
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
|-- riscv-randconfig-r034-20211014
| `-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
`-- s390-randconfig-r032-20211014
`-- include-linux-ftrace.h:warning:struct-ftrace_regs-declared-inside-parameter-list-will-not-be-visible-outside-of-this-definition-or-declaration
clang_recent_errors
|-- hexagon-randconfig-r041-20211014
| |-- kernel-bpf-hashtab.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-u32-u64)-(aka-int-(-)(struct-bpf_map-unsigned-int-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsig
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-u64)-(aka-int-(-)(struct-bpf_map-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-lon
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-void-u64)-(aka-int-(-)(struct-bpf_map-void-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(un
| |-- kernel-bpf-verifier.c:warning:cast-from-unsigned-int-(-)(const-void-const-struct-bpf_insn-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-l
| `-- kernel-bpf-verifier.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-lon
|-- hexagon-randconfig-r045-20211014
| |-- kernel-bpf-hashtab.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-u32-u64)-(aka-int-(-)(struct-bpf_map-unsigned-int-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsig
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-u64)-(aka-int-(-)(struct-bpf_map-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-lon
| |-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-void-u64)-(aka-int-(-)(struct-bpf_map-void-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(un
| |-- kernel-bpf-verifier.c:warning:cast-from-unsigned-int-(-)(const-void-const-struct-bpf_insn-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-l
| `-- kernel-bpf-verifier.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-lon
`-- riscv-randconfig-r042-20211014
|-- kernel-bpf-hashtab.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
|-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-u32-u64)-(aka-int-(-)(struct-bpf_map-unsigned-int-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsig
|-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-long
|-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-u64)-(aka-int-(-)(struct-bpf_map-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-lon
|-- kernel-bpf-verifier.c:warning:cast-from-int-(-)(struct-bpf_map-void-void-u64)-(aka-int-(-)(struct-bpf_map-void-void-unsigned-long-long)-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(un
|-- kernel-bpf-verifier.c:warning:cast-from-unsigned-int-(-)(const-void-const-struct-bpf_insn-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-l
`-- kernel-bpf-verifier.c:warning:cast-from-void-(-)(struct-bpf_map-void-)-to-u64-(-)(u64-u64-u64-u64-u64)-(aka-unsigned-long-long-(-)(unsigned-long-long-unsigned-long-long-unsigned-long-long-unsigned-lon
elapsed time: 841m
configs tested: 115
configs skipped: 3
gcc tested configs:
arm defconfig
arm64 allyesconfig
arm64 defconfig
arm allyesconfig
arm allmodconfig
i386 randconfig-c001-20211014
sh polaris_defconfig
powerpc rainier_defconfig
arm ezx_defconfig
s390 alldefconfig
mips decstation_r4k_defconfig
arm collie_defconfig
s390 zfcpdump_defconfig
mips qi_lb60_defconfig
arm colibri_pxa270_defconfig
powerpc tqm8560_defconfig
xtensa virt_defconfig
mips bigsur_defconfig
arc alldefconfig
riscv nommu_k210_defconfig
sh se7206_defconfig
sh se7722_defconfig
arm s3c6400_defconfig
sparc sparc32_defconfig
powerpc tqm8540_defconfig
powerpc tqm8541_defconfig
nios2 3c120_defconfig
mips fuloong2e_defconfig
powerpc lite5200b_defconfig
powerpc warp_defconfig
openrisc or1ksim_defconfig
powerpc mpc8560_ads_defconfig
arm vexpress_defconfig
powerpc pmac32_defconfig
powerpc mpc8315_rdb_defconfig
arm randconfig-c002-20211014
x86_64 randconfig-c001-20211014
ia64 allmodconfig
ia64 defconfig
ia64 allyesconfig
m68k allmodconfig
m68k defconfig
m68k allyesconfig
nios2 defconfig
nds32 allnoconfig
arc allyesconfig
nds32 defconfig
nios2 allyesconfig
csky defconfig
alpha defconfig
alpha allyesconfig
h8300 allyesconfig
arc defconfig
sh allmodconfig
xtensa allyesconfig
parisc defconfig
s390 allyesconfig
s390 allmodconfig
parisc allyesconfig
s390 defconfig
i386 allyesconfig
sparc allyesconfig
sparc defconfig
i386 defconfig
mips allyesconfig
mips allmodconfig
powerpc allyesconfig
powerpc allmodconfig
powerpc allnoconfig
x86_64 randconfig-a006-20211014
x86_64 randconfig-a004-20211014
x86_64 randconfig-a001-20211014
x86_64 randconfig-a005-20211014
x86_64 randconfig-a002-20211014
x86_64 randconfig-a003-20211014
i386 randconfig-a003-20211014
i386 randconfig-a001-20211014
i386 randconfig-a005-20211014
i386 randconfig-a004-20211014
i386 randconfig-a002-20211014
i386 randconfig-a006-20211014
arc randconfig-r043-20211014
riscv allyesconfig
riscv nommu_virt_defconfig
riscv allnoconfig
riscv defconfig
riscv rv32_defconfig
riscv allmodconfig
x86_64 rhel-8.3-kselftests
um x86_64_defconfig
um i386_defconfig
x86_64 defconfig
x86_64 rhel-8.3
x86_64 kexec
x86_64 allyesconfig
clang tested configs:
arm randconfig-c002-20211014
i386 randconfig-c001-20211014
s390 randconfig-c005-20211014
x86_64 randconfig-c007-20211014
powerpc randconfig-c003-20211014
riscv randconfig-c006-20211014
x86_64 randconfig-a012-20211014
x86_64 randconfig-a015-20211014
x86_64 randconfig-a016-20211014
x86_64 randconfig-a014-20211014
x86_64 randconfig-a011-20211014
x86_64 randconfig-a013-20211014
i386 randconfig-a016-20211014
i386 randconfig-a014-20211014
i386 randconfig-a011-20211014
i386 randconfig-a015-20211014
i386 randconfig-a012-20211014
i386 randconfig-a013-20211014
hexagon randconfig-r041-20211014
s390 randconfig-r044-20211014
riscv randconfig-r042-20211014
hexagon randconfig-r045-20211014
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx