u-boot/drivers
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
..
adc adc: rockchip-saradc: Use vdd-microvolts prop as fallback 2024-10-26 10:46:48 +08:00
ata ata: ahci: remove bad free 2025-04-08 16:23:27 -06:00
axi
bios_emulator bios_emulator: fix incorrect printing of address in "jump near immediate" 2024-12-15 11:39:23 -06:00
block blkmap: pass information on ISO image to the OS 2025-03-26 13:28:08 +02:00
bootcount Kconfig: Move CONFIG_BOOTCOUNT_ALTBOOTCMD to Kconfig 2025-02-14 10:19:24 -06:00
bus global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
button button: qcom-pmic: add software debounce 2025-01-22 16:35:18 +01:00
cache driver: sifive ccache: enable TRUNKCLOCKGATE and REGIONCLOCKGATE 2024-11-06 18:56:51 +08:00
clk Merge branch 'next' 2025-04-08 11:43:23 -06:00
core core: ofnode: add of_graph parsing helpers 2025-03-08 16:35:46 +02:00
cpu cpu: imx8_cpu: Print Speed grade if IMX_TMU 2025-03-25 08:32:16 -03:00
crypto crypto: fsl_hash: fix flush dcache alignment in caam_hash() 2025-03-03 14:18:50 +08:00
ddr ddr: altera: Add DDR driver for Agilex5 series 2025-02-25 10:54:01 -06:00
demo
dfu dfu: add scsi backend 2024-11-20 17:57:58 +01:00
dma arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
extcon
fastboot fastboot: annotate switch/case fallthrough case 2025-04-08 16:23:51 -06:00
firmware arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
fpga fpga: Avoid ignored-qualifiers warning 2025-02-05 16:22:55 +01:00
fuzz
fwu-mdata
gpio Merge patch series "drivers: Driver support for ADI SC5xx SoCs" 2025-03-12 10:25:13 -06:00
hwspinlock
i2c i2c: Add support for ADI SC5XX-family I2C peripheral 2025-03-12 10:24:58 -06:00
input global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
iommu Merge patch series "Fix device removal order for Apple dart iommu" 2024-11-24 15:41:32 -06:00
led led: Fix next Coverity scan error 2025-03-04 12:07:23 -06:00
mailbox Merge patch series "Clarify DM_FLAG_PROBE_AFTER_BIND behaviour" 2025-03-30 09:11:07 -06:00
memory memory: ti-gpmc: Alloc per driver private struct 2025-03-13 14:23:05 -06:00
mfd
misc Merge branch 'next' 2025-04-08 11:43:23 -06:00
mmc sunxi: mmc: Improve reset procedure 2025-03-27 00:26:35 +00:00
mtd Merge patch series "Annotate switch/case fallthrough cases" 2025-04-08 16:24:12 -06:00
mux mux: Kconfig: Add Kconfig options for MUX_MMIO 2025-04-05 09:35:25 -06:00
net Merge patch series "Annotate switch/case fallthrough cases" 2025-04-08 16:24:12 -06:00
nvme blk: Make block subsystems select BLK 2025-01-20 19:26:54 -06:00
pch
pci pci_auto: Downgrade prefetch if necessary 2025-03-12 10:23:59 -06:00
pci_endpoint
phy phy: rcar: Support RZ/G2L USB PHY 2025-03-19 03:36:19 +01:00
pinctrl Kconfig: Fix "warning: style: quotes recommended" warnings 2025-04-01 08:46:18 -06:00
power arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
pwm pwm: mediatek: add pwm support for MediaTek MT7987 SoC 2025-03-30 09:14:44 -06:00
qe
ram arm: mach-k3: j721e: Split out J7200 SoC support from J721e 2025-04-05 18:28:02 -06:00
reboot-mode
remoteproc Merge patch series "drivers: Driver support for ADI SC5xx SoCs" 2025-03-12 10:25:13 -06:00
reset Merge patch series "airoha: Add initial support AN7581" 2025-04-01 08:45:46 -06:00
rng rng: msm: keep core clock disabled when PRNG not in use 2025-03-17 13:38:18 +00:00
rtc rtc: emul_rtc: Make emul_rtc_probe() static 2025-02-10 10:29:10 -06:00
scsi scsi: do not fill the LUN in the second CDB byte 2025-01-31 11:28:55 -06:00
serial Merge patch series "membuff: Add tests and update to support a flag for empty/full" 2025-04-03 16:54:59 -06:00
sm
smem
soc soc: Add information to identify the J742S2 SoC family 2025-04-03 11:37:46 -06:00
sound drivers: sound: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
spi Merge patch series "drivers: Driver support for ADI SC5xx SoCs" 2025-03-12 10:25:13 -06:00
spmi
sysinfo sysinfo: Add driver for IOT2050 boards 2025-02-28 08:41:54 -06:00
sysreset sysreset: qcom-pshold: remove ARCH_IPQ40XX dependency 2025-03-17 13:38:19 +00:00
tee
thermal drivers: thermal: Remove duplicate newlines 2024-07-22 10:53:06 -06:00
timer test: Keep track of suite duration 2025-02-11 20:10:58 -06:00
tpm tpm: unconstify tpm_tis_chip_data 2025-02-18 08:26:43 -06:00
ufs ufs: core: sync ufshci.h with Linux v6.12 2025-03-18 15:55:08 +01:00
usb Merge patch series "Annotate switch/case fallthrough cases" 2025-04-08 16:24:12 -06:00
video Merge patch series "Annotate switch/case fallthrough cases" 2025-04-08 16:24:12 -06:00
virtio blk: Make block subsystems select BLK 2025-01-20 19:26:54 -06:00
w1
w1-eeprom
watchdog Merge patch series "Clarify DM_FLAG_PROBE_AFTER_BIND behaviour" 2025-03-30 09:11:07 -06:00
xen
Kconfig
Makefile mux: Makefile: Add config for mux drivers 2024-12-14 09:34:16 -06:00