bcm27xx: switch to 5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.10 / 950-0712-drm-gud-cleanup-coding-style-a-bit.patch
1 From a70cf7096e7171131db2689a0111c08b5f7bd764 Mon Sep 17 00:00:00 2001
2 From: Bernard Zhao <bernard@vivo.com>
3 Date: Fri, 2 Apr 2021 01:55:21 -0700
4 Subject: [PATCH] drm/gud: cleanup coding style a bit
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 [ Upstream commit 6dd7efc437611db16d432e0030f72d0c7e890127 ]
10
11 Fix coccicheck warning:
12 drivers/gpu/drm/gud/gud_internal.h:89:2-3: Unneeded semicolon
13 drivers/gpu/drm/gud/gud_internal.h:107:2-3: Unneeded semicolon
14
15 Signed-off-by: Bernard Zhao <bernard@vivo.com>
16 Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
17 Link: https://patchwork.freedesktop.org/patch/msgid/20210402085523.76928-1-bernard@vivo.com
18 ---
19 drivers/gpu/drm/gud/gud_internal.h | 4 ++--
20 1 file changed, 2 insertions(+), 2 deletions(-)
21
22 --- a/drivers/gpu/drm/gud/gud_internal.h
23 +++ b/drivers/gpu/drm/gud/gud_internal.h
24 @@ -86,7 +86,7 @@ static inline u8 gud_from_fourcc(u32 fou
25 return GUD_PIXEL_FORMAT_XRGB8888;
26 case DRM_FORMAT_ARGB8888:
27 return GUD_PIXEL_FORMAT_ARGB8888;
28 - };
29 + }
30
31 return 0;
32 }
33 @@ -104,7 +104,7 @@ static inline u32 gud_to_fourcc(u8 forma
34 return DRM_FORMAT_XRGB8888;
35 case GUD_PIXEL_FORMAT_ARGB8888:
36 return DRM_FORMAT_ARGB8888;
37 - };
38 + }
39
40 return 0;
41 }