diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-07 00:05:26 +0300 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-07 00:26:17 +0300 |
commit | f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb (patch) | |
tree | 1fac4d5a15e5a72280a52b18caa1dbbc30a8f3e9 /drivers/mtd/ubi/eba.c | |
parent | 4e1c8c17ff129ab14a38c461dd9bb8f7ff8a36a0 (diff) | |
download | linux-f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb.tar.xz |
Input: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a
warning by explicitly adding a fallthrough; statement.
Notice that this seems to be a Duff device for performance[1]. So,
although the code looks a bit _funny_, I didn't want to refactor
or modify it beyond merely adding a fallthrough marking, which
might be the least disruptive way to fix this issue.
[1] https://www.drdobbs.com/a-reusable-duff-device/184406208
Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'drivers/mtd/ubi/eba.c')
0 files changed, 0 insertions, 0 deletions