1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/ramips
Mieczyslaw Nalewaj 92fec1ff24 mtk-mmc: replace empty body macros
Replace macros with empty body with 'do {} while (0)'.
Remove unnecessary semicolons.

Fixes:
drivers/mmc/host/mtk-mmc/sd.c: In function 'msdc_irq':
drivers/mmc/host/mtk-mmc/sd.c:1969:87: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
 1969 |                                 IRQ_MSG("XXX CMD<%d> MSDC_INT_RSPCRCERR", cmd->opcode);
      |                                                                                       ^
drivers/mmc/host/mtk-mmc/sd.c:1975:84: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body]
 1975 |                                 IRQ_MSG("XXX CMD<%d> MSDC_INT_CMDTMO", cmd->opcode);
      |                                                                                    ^
cc1: all warnings being treated as errors

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18654
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-11 14:16:21 +02:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: some minor FDT improvements for HiWiFi devices 2025-06-08 19:37:49 +02:00
files/drivers mtk-mmc: replace empty body macros 2025-06-11 14:16:21 +02:00
image ramips: mt7621: include uboot-envtools in some missed devices 2025-06-08 20:42:19 +02:00
mt76x8 kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
mt7620 kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
mt7621 kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
patches-6.6 kernel/ramips: Restore kernel files for v6.6 2025-06-11 14:12:25 +02:00
patches-6.12 ramips: pci-rt2880: 6.12: change pcibios_init declaration 2025-06-11 14:12:26 +02:00
rt288x kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
rt305x kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
rt3883 kernel/ramips: update config for kernel 6.12 2025-06-11 14:15:57 +02:00
Makefile ramips: enable 6.12 testing kernel 2025-06-11 14:16:21 +02:00
modules.mk ramips: add Semtech SX9512 touch input driver 2025-05-10 21:26:08 +02:00