Nathan Chancellor
274eed81c5
net: qede: Initialize qede_ll_ops with designated initializer
...
commit 6b3ab7f2cbfaeb6580709cd8ef4d72cfd01bfde4 upstream.
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: 035f7f87b729 ("randstruct: Enable Clang support")
Link: 04364fb888 [1]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20250507-qede-fix-clang-randstruct-v1-1-5ccc15626fba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-12-03 12:45:21 +01:00
..
appletalk
arcnet
arcnet: Add NULL check in com20020pci_probe()
2025-04-10 14:29:43 +02:00
bonding
net: bonding: fix possible peer notify event loss or dup issue
2025-10-29 13:59:59 +01:00
caif
caif_virtio: fix wrong pointer check in cfv_probe()
2025-03-13 12:43:29 +01:00
can
can: gs_usb: increase max interface to U8_MAX
2025-12-03 12:45:06 +01:00
dsa
net: dsa: b53: stop reading ARL entries if search is done
2025-12-03 12:45:15 +01:00
ethernet
net: qede: Initialize qede_ll_ops with designated initializer
2025-12-03 12:45:21 +01:00
fddi
fjes
fjes: fix memleaks in fjes_hw_setup
2024-02-23 08:24:51 +01:00
hamradio
hippi
hyperv
hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
2024-11-08 16:20:51 +01:00
ieee802154
ieee802154: ca8210: Use proper setters and getters for bitwise types
2025-06-04 14:32:31 +02:00
ipvlan
ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
2024-06-16 13:28:48 +02:00
netdevsim
phy
net: mdio: fix resource leak in mdiobus_register_device()
2025-12-03 12:45:17 +01:00
plip
ppp
ppp: fix memory leak in pad_compress_skb
2025-09-09 18:43:58 +02:00
slip
slip: make slhc_remember() more robust against malicious packets
2024-11-08 16:20:46 +01:00
team
team: better TEAM_OPTION_TYPE_STRING validation
2025-03-13 12:43:12 +01:00
usb
net: usb: qmi_wwan: initialize MAC header offset in qmimux_rx_fixup
2025-12-03 12:45:16 +01:00
vmxnet3
vmxnet3: update MTU after device quiesce
2025-09-09 18:44:01 +02:00
wan
net: remove unneeded break
2024-02-23 08:25:04 +01:00
wimax
wireless
wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode
2025-12-03 12:45:05 +01:00
xen-netback
net/xen-netback: prevent UAF in xenvif_flush_hash()
2025-02-01 18:18:53 +01:00
dummy.c
eql.c
geneve.c
geneve: Suppress list corruption splat in geneve_destroy_tunnels().
2025-03-13 12:43:22 +01:00
gtp.c
gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl().
2025-03-13 12:43:22 +01:00
ifb.c
Kconfig
drivers: net: Fix Kconfig indentation, continued
2024-11-08 16:20:35 +01:00
LICENSE.SRC
loopback.c
net: loopback: Avoid sending IP packets without an Ethernet header
2025-03-13 12:43:24 +01:00
macsec.c
macsec: don't increment counters for an unrelated SA
2024-11-08 16:20:49 +01:00
macvlan.c
macvlan: Don't propagate promisc change to lower dev in passthru
2023-11-28 16:50:17 +00:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
net: netconsole: Disable target before netpoll cleanup
2024-08-19 05:33:35 +02:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
tap: add missing verification for short frame
2024-07-27 10:38:33 +02:00
thunderbolt.c
net: thunderbolt: Fix TCPv6 GSO checksum calculation
2023-10-10 21:46:41 +02:00
tun.c
tun: revert fix group permission check
2025-03-13 12:43:06 +01:00
veth.c
veth: Fixing transmit return status for dropped packets
2023-09-23 10:59:58 +02:00
virtio_net.c
virtio-net: ensure the received length does not exceed allocated size
2025-08-28 16:21:16 +02:00
vrf.c
vrf: Drop existing dst reference in vrf_ip6_input_dst
2025-08-28 16:21:20 +02:00
vsockmon.c
vxlan.c
vxlan: Do not treat dst cache initialization errors as fatal
2025-06-27 11:02:55 +01:00
xen-netfront.c
xen/netfront: fix crash when removing device
2024-12-19 18:05:05 +01:00