[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 09:22:39 UTC 2019


Hi Thorsten,

On Mon, Nov 11, 2019 at 11:53:20PM +0800, kbuild test robot wrote:
> tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
> head:   6aa192698089b450b06d609355fc9c82c07856d2
> commit: 6aa192698089b450b06d609355fc9c82c07856d2 [5/5] drm/bridge: Add Analogix anx6345 support
> config: i386-randconfig-h004-201945 (attached as .config)
> compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
> reproduce:
>         git checkout 6aa192698089b450b06d609355fc9c82c07856d2
>         # save the attached .config to linux build tree
>         make ARCH=i386
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp at intel.com>
>
> All errors (new ones prefixed by >>):
>
>    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.

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.

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/1dc60135/attachment-0001.sig>


More information about the dri-devel mailing list