.. | .. |
---|
48 | 48 | struct usb_ep *in_ep, *out_ep; |
---|
49 | 49 | |
---|
50 | 50 | struct usb_request *in_req; |
---|
51 | | - struct usb_request *out_reqv[0]; |
---|
| 51 | + struct usb_request *out_reqv[]; |
---|
52 | 52 | }; |
---|
53 | 53 | |
---|
54 | 54 | static int phonet_rxq_size = 17; |
---|
.. | .. |
---|
212 | 212 | case -ESHUTDOWN: /* disconnected */ |
---|
213 | 213 | case -ECONNRESET: /* disabled */ |
---|
214 | 214 | dev->stats.tx_aborted_errors++; |
---|
215 | | - /* fall through */ |
---|
| 215 | + fallthrough; |
---|
216 | 216 | default: |
---|
217 | 217 | dev->stats.tx_errors++; |
---|
218 | 218 | } |
---|
.. | .. |
---|
360 | 360 | /* Do resubmit in these cases: */ |
---|
361 | 361 | case -EOVERFLOW: /* request buffer overflow */ |
---|
362 | 362 | dev->stats.rx_over_errors++; |
---|
363 | | - /* fall through */ |
---|
| 363 | + fallthrough; |
---|
364 | 364 | default: |
---|
365 | 365 | dev->stats.rx_errors++; |
---|
366 | 366 | break; |
---|