[drm-drm-misc:drm-misc-next 5/5] include/linux/kernel.h:994:32: error: dereferencing pointer to incomplete type 'struct drm_bridge'

Torsten Duwe duwe at suse.de
Tue Nov 12 12:10:13 UTC 2019


On Tue, Nov 12, 2019 at 10:22:39AM +0100, Maxime Ripard wrote:
> Hi Thorsten,
> 
> On Mon, Nov 11, 2019 at 11:53:20PM +0800, kbuild test robot wrote:
> >
> >    drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:48:20: error: field 'bridge' has incomplete type
> >      struct drm_bridge bridge;
> >                        ^~~~~~
> >    drivers/gpu/drm/bridge/analogix/analogix-anx6345.c:52:21: error: field 'link' has incomplete type
> >      struct drm_dp_link link;
> >                         ^~~~
> 
> It looks like you didn't compile your driver after rebasing.

FWIW I compiled and ran the rebased series, based on 5.4-rc6 + 025910db8.
Who needs stable in-kernel interfaces anyway :-/

> The first error here is pretty trivial (missing drm_bridge.h include),
> but the second one is there becaus the DP link helpers you rely on
> have been removed.
> 
> Can you send a patch to fix this? Otherwise, we can just revert the
> offending patch.

https://patchwork.freedesktop.org/series/68031/ passed me by unnoticed;
I wonder why I Cc'ed Thierry on every single patch? A simple heads-up would
have sufficed.

Now that I have that series, I'm confident I can update the anx6345 driver
accordingly.

Stay tuned...

	Torsten



More information about the dri-devel mailing list