mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() After a recent change [1] in clang's randstruct implementation to randomize structures that only contain function pointers, there is an error because qede_ll_ops get randomized but does not use a designated initializer for the first member: drivers/net/ethernet/qlogic/qede/qede_main.c:206:2: error: a randomized struct can only be initialized with a designated initializer 206 | { | ^ Explicitly initialize the common member using a designated initializer to fix the build. Cc: stable@vger.kernel.org Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
qede_dcbnl.c | ||
qede_ethtool.c | ||
qede_filter.c | ||
qede_fp.c | ||
qede_main.c | ||
qede_ptp.c | ||
qede_ptp.h | ||
qede_rdma.c | ||
qede.h |