u-boot/drivers/net
Tom Rini 1f0281294d Merge patch series "Annotate switch/case fallthrough cases"
Andre Przywara <andre.przywara@arm.com> says:

C's implicit fallthrough behaviour in switch/case statements can lead to
subtle bugs. Quite some while ago many compilers introduced warnings in
those cases, requiring intentional fallthrough's to be annotated.

So far we were not enabling that compiler option, so many ambiguities
and some bugs in the code went unnoticed.

This series adds the required annotations in code paths that the first
stage of the U-Boot CI covers. There is a large number of cases left
in the libbz2 code. The usage of switch/case is borderline insane there,
labels are hidden in macros, and there are no breaks, but just goto's.
Upstream still uses very similar code, without any annotations. I still
am not 100% sure those are meant to fall through or not, and plan to do
further investigations, but didn't want to hold the rest of the patches
back. You can see for yourself by applying patch 18/18 and building for
sandbox64, for instance.

Because of this we cannot quite enable the warning in the Makefile yet,
but those fixes are worth regardless, and be it to increase readability.

Please note that those patches do not fix anything, really, they just add
those fallthrough annotations, so the series is not really critical.

Link: https://lore.kernel.org/r/20250327153313.2105227-1-andre.przywara@arm.com
2025-04-08 16:24:12 -06:00
..
bnxt drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
fm net: fm: call dtsec_init_phy() only when it is defined 2024-09-24 13:41:21 -06:00
fsl-mc drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ldpaa_eth drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mscc_eswitch drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mtk_eth net: mediatek: fix coding style of AN8855 switch driver 2025-01-31 11:29:01 -06:00
octeon global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
octeontx pci: Add mask parameter to dm_pci_map_bar() 2022-05-03 18:33:29 -04:00
octeontx2 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
pfe_eth drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
phy net: phy: ksz90x1: Simplify ksz9131_config_rgmii_delay 2025-03-19 03:38:51 +01:00
qe Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ti net: am65-cpsw: cpsw_mdio: fix typo in error message 2025-03-31 17:04:20 -06:00
ag7xxx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
altera_tse.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
altera_tse.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
aspeed_mdio.c driver: net: Add Aspeed AST2700 MDIO support 2024-09-11 20:34:48 +08:00
bcm-sf2-eth-gmac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm-sf2-eth-gmac.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
bcm-sf2-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm-sf2-eth.h
bcm6348-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm6368-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcmgenet.c bcmgenet: fix Rx buffer corruption caused by lack of cache flush 2024-06-13 16:30:46 -06:00
calxedaxgmac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cortina_ni.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cortina_ni.h net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs 2021-01-27 10:47:44 -05:00
dc2114x.c Merge a patch series to improve dc2114x support 2024-10-27 17:04:02 -06:00
designware.c net: designware: Switch back to mdio_alloc() 2025-03-11 23:05:57 +01:00
designware.h net: designware: Add bitbang feature for designware driver. 2025-01-23 18:51:26 -06:00
dm9000x.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dm9000x.h
dsa_sandbox.c net: update NXP copyright text 2021-09-28 18:50:56 +03:00
dwc_eth_qos.c net: Add support for ADI SC5xx SoCs with DWC QoS ethernet 2025-03-12 10:24:58 -06:00
dwc_eth_qos.h net: Add support for ADI SC5xx SoCs with DWC QoS ethernet 2025-03-12 10:24:58 -06:00
dwc_eth_qos_adi.c net: Add support for ADI SC5xx SoCs with DWC QoS ethernet 2025-03-12 10:24:58 -06:00
dwc_eth_qos_imx.c net: dwc_eth_qos_imx: Add platform specific reset for i.MX93 2024-10-29 16:25:53 -03:00
dwc_eth_qos_intel.c net: dwc_eth_qos: Add glue driver for Intel MAC 2024-09-03 09:12:00 -06:00
dwc_eth_qos_intel.h net: dwc_eth_qos: Add glue driver for Intel MAC 2024-09-03 09:12:00 -06:00
dwc_eth_qos_qcom.c net: dwc_eth_qos: Adapt probe() for PCI devices 2024-09-03 09:12:00 -06:00
dwc_eth_qos_rockchip.c net: dwc_eth_qos_rockchip: Fix disable of RX/TX delay for RK3588 2025-02-19 23:26:11 +08:00
dwc_eth_qos_starfive.c net: dwc_eth_qos: Adapt probe() for PCI devices 2024-09-03 09:12:00 -06:00
dwc_eth_qos_stm32.c net: dwc_eth_qos: Adapt probe() for PCI devices 2024-09-03 09:12:00 -06:00
dwc_eth_xgmac.c net: dwc_eth_xgmac: Add device name for the error message. 2025-01-24 09:56:12 +08:00
dwc_eth_xgmac.h Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwc_eth_xgmac_socfpga.c net: dwc_eth_xgmac_socfpga: Add support for distinct mac-mode and phy mode. 2025-01-24 09:56:22 +08:00
dwmac_meson8b.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwmac_s700.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwmac_socfpga.c net: designware: socfpga: Add RGMII-ID support 2025-01-24 09:55:54 +08:00
e1000.c net: e1000: annotate switch/case fallthrough 2025-04-08 16:23:51 -06:00
e1000.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
e1000_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
eepro100.c net: recv(): return -EAGAIN instead of 0 when no cleanup is expected 2024-10-27 17:03:40 -06:00
essedma.c Merge branch 'qcom-main' of https://gitlab.denx.de/u-boot/custodians/u-boot-snapdragon 2024-07-26 07:49:36 -06:00
essedma.h Merge branch 'qcom-main' of https://gitlab.denx.de/u-boot/custodians/u-boot-snapdragon 2024-07-26 07:49:36 -06:00
eth-phy-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ethoc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fec_mxc.c net: fec_mxc: add DM_FLAG_ACTIVE_DMA flag for FEC network driver 2024-12-23 08:09:53 -03:00
fec_mxc.h net: fec_mxc: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
fsl_enetc.c net: fsl_enetc: Enable optional ENETREF clock on i.MX95 2025-01-27 00:27:54 -03:00
fsl_enetc.h net: fsl_enetc: Update enetc driver to support i.MX95 2025-01-20 08:40:39 -03:00
fsl_enetc_mdio.c net: fsl_enetc: add i.MX95 EMDIO support 2025-01-20 08:40:39 -03:00
fsl_enetc_netc_blk_ctrl.c net: fsl_enetc: Add initial netc-blk-ctrl driver support 2025-01-20 08:40:39 -03:00
fsl_ls_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fsl_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ftgmac100.c net: ftgmac100: Add Aspeed AST2700 support 2024-09-11 20:34:43 +08:00
ftgmac100.h net: ftgmac100: Add Aspeed AST2700 support 2024-09-11 20:34:43 +08:00
ftmac100.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ftmac100.h net: ftmac100: add mii read and write callbacks 2023-02-10 13:41:07 -05:00
gmac_rockchip.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
hifemac.c net: hifemac: make some functions static 2024-03-26 19:58:26 -04:00
hifemac_mdio.c net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err() 2024-03-26 19:58:26 -04:00
higmacv300.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig Merge patch series "drivers: Driver support for ADI SC5xx SoCs" 2025-03-12 10:25:13 -06:00
ks8851_mll.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ks8851_mll.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ksz9477.c net: ksz9477: add support for KSZ GbE switches using SPI bus 2024-10-27 10:19:44 -06:00
liteeth.c liteeth: LiteX Ethernet device 2022-11-28 10:25:17 -05:00
macb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
macb.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Makefile net: Add support for ADI SC5xx SoCs with DWC QoS ethernet 2025-03-12 10:24:58 -06:00
mcffec.c m68k: Rename icache_invalid to invalidate_icache_all 2024-07-03 14:42:01 -06:00
mcfmii.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mdio-ipq4019.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mdio_gpio.c Bitbanging MDIO driver for DM framework. 2025-01-01 14:35:54 -06:00
mdio_mux_i2creg.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mdio_mux_meson_g12a.c net: add Amlogic Meson G12A MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_meson_gxl.c net: Add Amlogic GXL MDIO Mux driver 2023-12-19 11:24:38 +01:00
mdio_mux_mmioreg.c net: add MMIO Register MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_sandbox.c treewide: use dm_mdio_read/write/reset() wrappers 2022-04-10 08:44:12 +03:00
mdio_sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc8xx_fec.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mt7620-eth.c treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
mt7628-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mv88e6xxx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvgbe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvgbe.h global: Remove unused CONFIG symbols 2022-12-22 10:31:48 -05:00
mvmdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvneta.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mvpp2.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
netconsole.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
npcm750_eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pch_gbe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pch_gbe.h
pcnet.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_eth.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pic32_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ravb.c net: ravb: Fix error handling in ravb_probe 2025-03-19 03:37:41 +01:00
rswitch.c net: rswitch: Implement C22 to C45 access 2024-12-29 16:55:32 +01:00
rtl8139.c net: recv(): return -EAGAIN instead of 0 when no cleanup is expected 2024-10-27 17:03:40 -06:00
rtl8169.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
sandbox-lwip.c sandbox: add dummy driver ETH_SANDBOX_LWIP 2024-10-16 11:11:56 -06:00
sandbox-raw-bus.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox-raw.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sh_eth.c net: sh_eth: Switch back to mdio_alloc() 2025-03-11 23:05:57 +01:00
sh_eth.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
sja1105.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smc911x.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smc911x.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
sni_ave.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
sni_netsec.c net: sni_netsec: Add workaround for timeout error 2023-09-22 15:54:35 -04:00
sun8i_emac.c net: sun8i-emac: annotate fallthrough 2025-04-08 16:23:51 -06:00
sunxi_emac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tsec.c net: tsec: Re-arm packet buffer in error case 2025-03-03 14:18:49 +08:00
vsc7385.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_axi_emac.c net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol 2024-06-13 16:27:07 -06:00
xilinx_axi_mrmac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_axi_mrmac.h arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
xilinx_emaclite.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
zynq_gem.c net: gem: Remove undocumented is-internal-pcspma dt flag 2024-09-20 15:31:19 +02:00