diff --git a/hal/usb_halinit.c b/hal/usb_halinit.c index 45f241f..144cc5f 100644 --- a/hal/usb_halinit.c +++ b/hal/usb_halinit.c @@ -1923,7 +1923,7 @@ static void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val) switch (variable) { case HW_VAR_BASIC_RATE: *((u16 *)(val)) = haldata->BasicRateSet; - __attribute__((fallthrough)); + __attribute__((__fallthrough__)); case HW_VAR_TXPAUSE: val[0] = rtw_read8(Adapter, REG_TXPAUSE); break; diff --git a/hal/usb_ops_linux.c b/hal/usb_ops_linux.c index 166d85f..a5cfb79 100644 --- a/hal/usb_ops_linux.c +++ b/hal/usb_ops_linux.c @@ -553,7 +553,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) case -ENODEV: case -ESHUTDOWN: RT_TRACE(_module_hci_ops_os_c_, _drv_err_, ("usb_read_port_complete:bSurpriseRemoved=true\n")); - __attribute__((fallthrough)); + __attribute__((__fallthrough__)); case -ENOENT: adapt->bDriverStopped = true; RT_TRACE(_module_hci_ops_os_c_, _drv_err_, ("usb_read_port_complete:bDriverStopped=true\n"));