diff options
author | Chris Wilson <[email protected]> | 2020-04-08 22:24:07 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-04-08 22:42:39 +0100 |
commit | 8e334c1d89d2e9d367717fbf6008b046c445a1c6 (patch) | |
tree | ac60f1fbde2a63521488b9ea8c4645efb59b2642 /scripts/gdb/linux/device.py | |
parent | 963518c12431b6b114401a3ac763d10037b7d1e0 (diff) |
drm: Don't return 0 from a void drm_fbdev_generic_setup
drm_fbdev_generic_setup() was changed to be a void return, but the stub
was left returning 0.
./include/drm/drm_fb_helper.h: In function ‘drm_fbdev_generic_setup’:
./include/drm/drm_fb_helper.h:450:9: warning: ‘return’ with a value, in function returning void [-Wreturn-type]
./include/drm/drm_fb_helper.h:448:1: note: declared here
448 | drm_fbdev_generic_setup(struct drm_device *dev, unsigned int preferred_bpp)
Fixes: 1aed9509b29a ("drm/fb-helper: Remove return value from drm_fbdev_generic_setup()")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions