Skip to content

Commit

Permalink
powerpc/powernv: Fix fall-through warning for Clang
Browse files Browse the repository at this point in the history
Fix the following fallthrough warnings (powernv_defconfig and powerpc64):

drivers/char/powernv-op-panel.c:78:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
  • Loading branch information
GustavoARSilva committed Jul 14, 2021
1 parent cf6678a commit 479857a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/powernv-op-panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ static int __op_panel_update_display(void)
rc);
break;
}
break;
case OPAL_SUCCESS:
break;
default:
Expand Down

0 comments on commit 479857a

Please sign in to comment.