drm/radeon: Add break to switch statement in radeonfb_create_pinned_object()
authorNathan Chancellor <nathan@kernel.org>
Sun, 15 Aug 2021 19:29:59 +0000 (12:29 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Aug 2021 20:14:12 +0000 (16:14 -0400)
commit3a6e4106a8fdb87fd3ede0eb242b70b0c4c82bd5
tree14d4fd3518f52c1a03e57bd4c6d6ec1667597099
parent571ca8de5314690446cb26de746a999dfe4e4448
drm/radeon: Add break to switch statement in radeonfb_create_pinned_object()

Clang + -Wimplicit-fallthrough warns:

drivers/gpu/drm/radeon/radeon_fb.c:170:2: warning: unannotated
fall-through between switch labels [-Wimplicit-fallthrough]
        default:
        ^
drivers/gpu/drm/radeon/radeon_fb.c:170:2: note: insert 'break;' to avoid
fall-through
        default:
        ^
        break;
1 warning generated.

Clang's version of this warning is a little bit more pedantic than
GCC's. Add the missing break to satisfy it to match what has been done
all over the kernel tree.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_fb.c