staging: vc04_services: Fix clang14 warning
authorPhil Elwell <phil@raspberrypi.com>
Tue, 5 Jul 2022 08:04:55 +0000 (09:04 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Tue, 5 Jul 2022 08:07:31 +0000 (09:07 +0100)
Insert a break to fix a fallthrough warning from clang14. Since the
fallthrough was to another break, this is a cosmetic change.

See: https://github.com/raspberrypi/linux/issues/5078

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/vc04_services/vc-sm-cma/vc_sm_cma_vchi.c

index 122f2f6..dc0829b 100644 (file)
@@ -278,6 +278,8 @@ static enum vchiq_status vc_sm_cma_vchi_callback(enum vchiq_reason reason,
 
        case VCHIQ_SERVICE_CLOSED:
                pr_info("%s: service CLOSED!!", __func__);
+               break;
+
        default:
                break;
        }