atmel: Use fallthrough pseudo-keyword
Subsystems (4)
PATCH 1/1 atmel: 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/atmel/at76c50x-usb.c | 2 +- drivers/net/wireless/atmel/atmel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/atmel/at76c50x-usb.c +1 -1
@@ -432,7 +432,7 @@ static int at76_usbdfu_download(struct usb_device *udev, u8 *buf, u32 size,case STATE_DFU_DOWNLOAD_IDLE :at76_dbg (DBG_DFU ,"DOWNLOAD..." ); -/* fall through */ + fallthrough;case STATE_DFU_IDLE :at76_dbg (DBG_DFU ,"DFU IDLE" );
drivers/net/wireless/atmel/atmel.c +1 -1
@@ -1227,7 +1227,7 @@ static irqreturn_t service_interrupt(int irq, void *dev_id)case ISR_RxFRAMELOST: priv->wstats.discard.misc++; -/* fall through */ + fallthrough;case ISR_RxCOMPLETE:rx_done_irq (priv);break ;
Signature · 1 line
2.27.0
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.
9ccac12996ec atmel: Use fallthrough pseudo-keyword
Signature · 3 lines
https://patchwork.kernel.org/patch/11728241/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Quoted 11 lines · Kalle Valo
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.
Thanks, Kalle.
--
Gustavo