[Intel-gfx] [PATCH] drm/core: Change declaration for gamma_set.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Mon Jun 6 16:32:11 UTC 2016
Op 06-06-16 om 18:17 schreef Emil Velikov:
> 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
Oops, was a leftover. Ignore this hunk.
I originally added a return, but fb_helper is left unchanged for now.
~Maarten
More information about the Intel-gfx
mailing list