Re: [PATCH] drm/core: Change declaration for gamma_set.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maarten,

On 6 June 2016 at 10:18, Maarten Lankhorst
<maarten.lankhorst@xxxxxxxxxxxxxxx> 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
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux