linux/drivers/ssb
Randy Dunlap 6c700b35a5 ssb: use "break" on default case to prevent warning
Having an empty default: case in a switch statement causes a warning
(when using Clang; I don't see the warning when using gcc),
so add a "break;" to the default case to prevent the warning:

drivers/ssb/main.c:1149:2: warning: label at end of compound statement is a C2x extension [-Wc2x-extensions]

Fixes: e27b02e23a ("ssb: drop use of non-existing CONFIG_SSB_DEBUG symbol")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403130717.TWm17FiD-lkp@intel.com/
Cc: Michael Büsch <m@bues.ch>
Cc: linux-wireless@vger.kernel.org
Cc: Kalle Valo <kvalo@kernel.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: llvm@lists.linux.dev
Acked-by: Michael Büsch <m@bues.ch>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240313001305.18820-1-rdunlap@infradead.org
2024-03-14 10:56:31 +02:00
..
b43_pci_bridge.c
bridge_pcmcia_80211.c
driver_chipcommon_pmu.c
driver_chipcommon_sflash.c
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_extif.c
driver_gige.c
driver_gpio.c ssb: gpio: Use generic_handle_irq_safe() 2022-09-19 15:08:38 +02:00
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c ssb: pcicore: Fix indentation of comment 2021-06-15 13:09:30 +03:00
embedded.c
host_soc.c
Kconfig ssb: relax SSB_EMBEDDED dependencies 2023-10-19 10:26:26 +03:00
main.c ssb: use "break" on default case to prevent warning 2024-03-14 10:56:31 +02:00
Makefile
pci.c ssb: remove unreachable code 2022-05-11 08:29:11 +03:00
pcihost_wrapper.c ssb: Use dev_driver_string() instead of pci_dev->driver->name 2021-10-12 17:50:12 -05:00
pcmcia.c ssb: use DEVICE_ATTR_ADMIN_RW() helper macro 2021-06-15 13:11:56 +03:00
scan.c ssb: Fix error return code in ssb_bus_scan() 2021-06-15 13:10:42 +03:00
sdio.c ssb: sdio: Don't overwrite const buffer if block_write fails 2021-06-15 13:10:59 +03:00
sprom.c
ssb_private.h