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

From: Ingo Molnar
Date: Sat Mar 05 2016 - 07:43:03 EST



* Patrik Jakobsson <patrik.r.jakobsson@xxxxxxxxx> wrote:

> Hi Daniel,
>
> A patch to fix this is already merged into drm-misc:
>
> commit db9b60400f9253c25ae639797df2d0ff7a35d9d8
> Author: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>
> 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