Re: [-next] FATAL: drivers/gpu/drm/udl/udl: sizeof(struct usb_device_id)=24 is not a modulo of the size of section __mod_usb_device_table=44.

From: Andreas Schwab
Date: Sat Jun 16 2012 - 11:43:42 EST


BjÃrn Mork <bjorn@xxxxxxx> writes:

> AFAIK (which admittedly is not much wrt cross building) there is no way
> we can make the host built file2alias know the proper aligment for the
> structure in the target built modules. That's the background for this
> fix:
>
> commit 4ce6efed48d736e3384c39ff87bda723e1f8e041
> Author: Sam Ravnborg <sam@xxxxxxxxxxxxxxxxxxx>
> Date: Sun Mar 23 21:38:54 2008 +0100
>
> kbuild: soften modpost checks when doing cross builds

This is not a fix in any sense of the word. modpost can only work
properly if its view of the device_id structures matches *exactly* that
of the target.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/