Regressions on arm64, s390 and riscv with allyesconfig config build failed with gcc-13, clang-20 and clang-nightly toolchains on Linux next-20250428.
First seen on the next-20250428 Good: next-20250424 Bad: next-20250428
Build regressions: * arm64, build * riscv, build * s390, build - gcc-13-allyesconfig - clang-20-allyesconfig - clang-nightlty-allyesconfig
Regression Analysis: - New regression? Yes - Reproducibility? Yes
Build regression: arm64 riscv s390 allyesconfig qedf_main.c field name not in record or union initializer
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build error: drivers/scsi/qedf/qedf_main.c:702:9: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] 702 | { | ^ drivers/scsi/qedf/qedf_main.c:702:9: note: (near initialization for 'qedf_cb_ops') drivers/net/ethernet/qlogic/qede/qede_main.c:206:9: error: braces around scalar initializer [-Werror] 206 | { | ^ drivers/net/ethernet/qlogic/qede/qede_main.c:206:9: note: (near initialization for 'qede_ll_ops.ports_update') drivers/net/ethernet/qlogic/qede/qede_main.c:208:17: error: field name not in record or union initializer 208 | .arfs_filter_op = qede_arfs_filter_op, | ^ drivers/net/ethernet/qlogic/qede/qede_main.c:208:17: note: (near initialization for 'qede_ll_ops.ports_update') drivers/net/ethernet/qlogic/qede/qede_main.c:208:35: error: initialization of 'void (*)(void *, u16, u16)' {aka 'void (*)(void *, short unsigned int, short unsigned int)'} from incompatible pointer type 'void (*)(void *, void *, u8)' {aka 'void (*)(void *, void *, unsigned char)'} [-Werror=incompatible-pointer-types] 208 | .arfs_filter_op = qede_arfs_filter_op, | ^~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/qlogic/qede/qede_main.c:210:17: note: (near initialization for 'qede_ll_ops.ports_update') drivers/net/ethernet/qlogic/qede/qede_main.c:210:32: error: excess elements in scalar initializer [-Werror] 210 | .link_update = qede_link_update, | ^~~~~~~~~~~~~~~~
## Source * Kernel version: next-20250428 * Git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git * Git sha: 33035b665157558254b3c21c3f049fd728e72368 * Git describe: next-20250428 * Project details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/ * Architectures: arm64 s390 riscv * Toolchains: gcc-13, clang-20, clang-nightly * Kconfigs: allyesconfig
## Build * Build log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/tes... * Build history: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/tes... * Build details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/tes... * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wMJhRaVybixSxTSIyLTw... * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wMJhRaVybixSxTSIyLTw...
## Steps to reproduce on arm64 # tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13 --kconfig allyesconfig
-- Linaro LKFT https://lkft.linaro.org