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

Maxime Ripard maxime at cerno.tech
Tue Nov 12 18:44:52 UTC 2019


On Tue, Nov 12, 2019 at 01:10:13PM +0100, Torsten Duwe wrote:
> 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 :-/

So that's what you did? Yet you were saying that this was tested on
top of drm-misc-next and linux-next...

> > 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.

Thanks
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191112/87255d40/attachment-0001.sig>


More information about the dri-devel mailing list