[PATCH] drm/gma500: Make mdfld_dsi_connector_dpms() return a value

Ingo Molnar mingo at kernel.org
Sat Mar 5 12:42:38 UTC 2016


* Patrik Jakobsson <patrik.r.jakobsson at gmail.com> wrote:

> Hi Daniel,
> 
> A patch to fix this is already merged into drm-misc:
> 
> commit db9b60400f9253c25ae639797df2d0ff7a35d9d8
> Author: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
> Date:   Tue Feb 2 11:35:55 2016 +0530
> 
>     drm/gma500: remove helper function
> 
>     We were getting build warning about:
>     drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:2: warning: initialization
>         from incompatible pointer type

This should really be in drm-fixes, as this bug is now triggering an upstream 
allyesconfig build failure:

 drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]

as we have this in Makefile:

 # enforce correct pointer usage
 KBUILD_CFLAGS   += $(call cc-option,-Werror=incompatible-pointer-types)

Thanks,

	Ingo


More information about the dri-devel mailing list