android_kernel_sony_sdm845/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jakub Kicinski aaf44c1cbe eth: tg3: silence the GCC 12 array-bounds warning
[ Upstream commit 9dec850fd7c210a04b4707df8e6c95bfafdd6a4b ]

GCC 12 currently generates a rather inconsistent warning:

drivers/net/ethernet/broadcom/tg3.c:17795:51: warning: array subscript 5 is above array bounds of ‘struct tg3_napi[5]’ [-Warray-bounds]
17795 |                 struct tg3_napi *tnapi = &tp->napi[i];
      |                                           ~~~~~~~~^~~

i is guaranteed < tp->irq_max which in turn is either 1 or 5.
There are more loops like this one in the driver, but strangely
GCC 12 dislikes only this single one.

Silence this silliness for now.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 16:52:30 +02:00
..
appletalk net: appletalk: cops: Fix data race in cops_probe1 2021-06-16 11:36:33 +02:00
arcnet net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe() 2022-03-08 19:00:58 +01:00
bonding bonding: pair enable_port with slave_arr_updates 2022-02-16 12:43:53 +01:00
caif net: caif: fix memory leak in ldisc_open 2021-06-30 08:49:20 -04:00
can can: grcan: only use the NAPI poll budget for RX 2022-05-15 19:39:17 +02:00
cris
dsa net: dsa: b53: Fix calculating number of switch ports 2021-09-22 11:43:10 +02:00
ethernet eth: tg3: silence the GCC 12 array-bounds warning 2022-06-14 16:52:30 +02:00
fddi FDDI: defxx: Make MMIO the configuration default except for EISA 2021-05-22 10:40:32 +02:00
fjes fjes: Check for error irq 2021-12-29 12:14:48 +01:00
hamradio drivers: hamradio: 6pack: fix UAF bug caused by mod_timer() 2022-04-20 09:06:29 +02:00
hippi drivers: net: hippi: Fix deadlock in rr_close() 2022-05-12 12:14:55 +02:00
hyperv hv_netvsc: Fix IP header checksum for coalesced packets 2019-03-13 14:04:53 -07:00
ieee802154 net: ieee802154: at86rf230: Stop leaking skb's 2022-02-23 11:56:39 +01:00
ipvlan ipvlan: fix device features 2020-09-03 11:21:15 +02:00
irda
phy net: phy: broadcom: Fix brcm_fet_config_init() 2022-04-20 09:06:37 +02:00
plip
ppp ppp: ensure minimum packet size in ppp_write() 2022-01-27 08:47:34 +01:00
slip drivers: net: slip: fix NPD bug in sl_tx_timeout() 2022-04-20 09:06:45 +02:00
team net: team: fix memory leak in __team_options_register 2020-10-14 09:48:16 +02:00
usb net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990 2022-03-08 19:00:57 +01:00
vmxnet3 net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup() 2022-05-25 08:39:49 +02:00
wan net: lapbether: Prevent racing when checking whether the netif is running 2021-05-22 10:40:26 +02:00
wimax staging: wimax/i2400m: fix byte-order issue 2021-05-22 10:40:16 +02:00
wireless ath9k: fix QCA9561 PA bias level 2022-06-14 16:52:29 +02:00
xen-netback Revert "xen-netback: Check for hotplug-status existence before watching" 2022-03-16 12:49:01 +01:00
dummy.c
eql.c
geneve.c geneve: add transport ports in route lookup for geneve 2020-11-18 18:26:25 +01:00
gtp.c net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending 2021-03-03 17:44:46 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net: macsec: Verify that send_sci is on when setting Tx sci explicitly 2022-02-08 18:15:29 +01:00
macvlan.c macvlan: Skip loopback packets in RX handler 2020-06-20 10:24:18 +02:00
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: fix sleep time mismatch 2019-11-28 18:28:52 +01:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tun: fix bonding active backup with arp monitoring 2021-11-26 11:48:42 +01:00
veth.c veth: Ensure eth header is in skb's linear part 2022-04-20 09:06:45 +02:00
virtio_net.c virtio_net: Fix recursive call to cpus_read_lock() 2021-01-12 19:49:02 +01:00
vrf.c vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit 2021-12-08 08:45:06 +01:00
vxlan.c vxlan: fix error return code in vxlan_fdb_append 2022-04-27 13:14:10 +02:00
xen-netfront.c xen/netfront: react properly to failing gnttab_end_foreign_access_ref() 2022-03-11 10:03:33 +01:00