[Intel-gfx] [PATCH] drm/core: Change declaration for gamma_set.
Emil Velikov
emil.l.velikov at gmail.com
Mon Jun 6 16:17:33 UTC 2016
Hi Maarten,
On 6 June 2016 at 10:18, Maarten Lankhorst
<maarten.lankhorst at linux.intel.com> wrote:
> --- a/drivers/gpu/drm/drm_fb_helper.c
> +++ b/drivers/gpu/drm/drm_fb_helper.c
> @@ -1076,8 +1076,6 @@ static int setcolreg(struct drm_crtc *crtc, u16 red, u16 green,
> WARN_ON(fb->bits_per_pixel != 8);
>
> fb_helper->funcs->gamma_set(crtc, red, green, blue, regno);
> -
> - return 0;
> }
This seems like unrelated change for which the compiler should give
you a nice big warning :-)
Thanks
Emil
More information about the Intel-gfx
mailing list