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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux