summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorFabio M. De Francesco <fmdefrancesco@gmail.com>2021-04-17 18:15:52 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-04-20 10:54:22 +0200
commit42be7ca1fdc99dda43521ed6024c0959600edaba (patch)
tree10b58d7ffbd7ae9d5c13f4efb0fa3b9e5c4b8d3c /drivers/gpu/drm
parentdrm/exynos: Don't set allow_fb_modifiers explicitly (diff)
downloadlinux-42be7ca1fdc99dda43521ed6024c0959600edaba.tar.xz
linux-42be7ca1fdc99dda43521ed6024c0959600edaba.zip
drm/drm_bufs.c: In switch, add break in default case
Added a "break" in the default case of a switch select statement. GCC complains, although this "break" is not strictly necessary for the code to work as expected. Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210417161552.6571-1-fmdefrancesco@gmail.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c
index e3d77dfefb0a..fc40aa0adf73 100644
--- a/drivers/gpu/drm/drm_bufs.c
+++ b/drivers/gpu/drm/drm_bufs.c
@@ -79,7 +79,7 @@ static struct drm_map_list *drm_find_matching_map(struct drm_device *dev,
return entry;
break;
default: /* Make gcc happy */
- ;
+ break;
}
if (entry->map->offset == map->offset)
return entry;