b43legacy: Use fallthrough pseudo-keyword
Subsystems (3)
PATCH 1/1 b43legacy: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/wireless/broadcom/b43legacy/dma.c | 2 +- drivers/net/wireless/broadcom/b43legacy/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/wireless/broadcom/b43legacy/dma.c +1 -1
@@ -189,7 +189,7 @@ return dev->dma.tx_ring1;switch (queue_priority) {default :B43legacy_WARN_ON (1 ); -/* fallthrough */ + fallthrough;case 0 : ring = dev->dma.tx_ring3;break ;
drivers/net/wireless/broadcom/b43legacy/main.c +2 -2
@@ -1537,7 +1537,7 @@ static int do_request_fw(struct b43legacy_wldev *dev, size =be32_to_cpu (hdr->size);if (size != (*fw)->size -sizeof (struct b43legacy_fw_header )) goto err_format; -/* fallthrough */ + fallthrough;case B43legacy_FW_TYPE_IV:if (hdr->ver !=1 ) goto err_format;
@@ -2076,7 +2076,7 @@ static void b43legacy_rate_memory_init(struct b43legacy_wldev *dev)b43legacy_rate_memory_write (dev, B43legacy_OFDM_RATE_36MB,1 );b43legacy_rate_memory_write (dev, B43legacy_OFDM_RATE_48MB,1 );b43legacy_rate_memory_write (dev, B43legacy_OFDM_RATE_54MB,1 ); -/* fallthrough */ + fallthrough;case B43legacy_PHYTYPE_B:b43legacy_rate_memory_write (dev, B43legacy_CCK_RATE_1MB,0 );b43legacy_rate_memory_write (dev, B43legacy_CCK_RATE_2MB,0 );
Signature · 1 line
2.27.0
PATCH 1/1 b43legacy: Use fallthrough pseudo-keyword
Quoted 6 lines · Gustavo A. R. Silva
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
ce3b6845fc4d b43legacy: Use fallthrough pseudo-keyword
Signature · 3 lines
https://patchwork.kernel.org/patch/11728231/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Quoted 6 lines · Gustavo A. R. Silva
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
ce3b6845fc4d b43legacy: Use fallthrough pseudo-keyword
Signature · 3 lines
https://patchwork.kernel.org/patch/11728231/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches