diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2019-07-30 14:37:04 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-07-31 21:44:45 +1000 |
commit | 7440ea8b2a4430eef5120d0a7faac6c39304ae6d (patch) | |
tree | ad2b51c17bab88b0b8feb609f0251c229856f3b8 /mm/z3fold.c | |
parent | 7db57e77586744af46c8bbf8f831bb2b941b7afc (diff) | |
download | linux-7440ea8b2a4430eef5120d0a7faac6c39304ae6d.tar.bz2 |
drivers/macintosh/smu.c: Mark expected switch fall-through
Mark switch cases where we are expecting to fall through.
This patch fixes the following warning (Building: powerpc):
drivers/macintosh/smu.c: In function 'smu_queue_i2c':
drivers/macintosh/smu.c:854:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
cmd->info.devaddr &= 0xfe;
~~~~~~~~~~~~~~~~~~^~~~~~~
drivers/macintosh/smu.c:855:2: note: here
case SMU_I2C_TRANSFER_STDSUB:
^~~~
Fixes: 0365ba7fb1fa ("[PATCH] ppc64: SMU driver update & i2c support")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190730143704.060a2606@canb.auug.org.au
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions