1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

ath25: Replace fall through comment with fallthrough;

Replace the fall through comment with fallthrough; in the ar2315 flash
driver.
This fixes a compile warning.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2023-05-18 16:19:47 +02:00
parent 13656378e9
commit 53956dd2f6

@ -350,13 +350,13 @@
+ switch (read_len) {
+ case 4:
+ spi_data |= buf[3] << 24;
+ /* fall through */
+ fallthrough;
+ case 3:
+ spi_data |= buf[2] << 16;
+ /* fall through */
+ fallthrough;
+ case 2:
+ spi_data |= buf[1] << 8;
+ /* fall through */
+ fallthrough;
+ case 1:
+ spi_data |= buf[0] & 0xff;
+ break;