powerpc/powernv: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 14 Jul 2021 00:19:03 +0000 (19:19 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 14 Jul 2021 00:21:41 +0000 (19:21 -0500)
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>
drivers/char/powernv-op-panel.c

index 027484e..3c99696 100644 (file)
@@ -75,6 +75,7 @@ static int __op_panel_update_display(void)
                                rc);
                        break;
                }
+               break;
        case OPAL_SUCCESS:
                break;
        default: