[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYs+7-Jut2PM1Z8fXOkBaBuGt0WwTUvU=4cu2O8iQdwUYw@mail.gmail.com>
Date: Tue, 29 Apr 2025 12:18:18 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: Netdev <netdev@...r.kernel.org>, open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org, Linux Regressions <regressions@...ts.linux.dev>
Cc: Anders Roxell <anders.roxell@...aro.org>, Arnd Bergmann <arnd@...db.de>,
Dan Carpenter <dan.carpenter@...aro.org>, "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: next-20250428: drivers/net/ethernet/qlogic/qede/qede_main.c error:
field name not in record or union initializer
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@...aro.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/testrun/28249321/suite/build/test/gcc-13-allyesconfig/log
* Build history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/testrun/28249321/suite/build/test/gcc-13-allyesconfig/history/
* Build details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250428/testrun/28249321/suite/build/test/gcc-13-allyesconfig/details/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wMJhRaVybixSxTSIyLTw8JqNxe/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2wMJhRaVybixSxTSIyLTw8JqNxe/config
## Steps to reproduce on arm64
# tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13
--kconfig allyesconfig
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists