Re: [PATCH] mod/file2alias: make modalias generation safe for crosscompiling

From: Michal Marek
Date: Thu Jan 24 2013 - 17:22:44 EST


Dne 20.1.2013 17:58, Andreas Schwab napsal(a):
> Use the target compiler to compute the offsets for the fields of the
> device_id structures, so that it won't be broken by different alignments
> between the host and target ABIs.
>
> This also fixes missing endian corrections for some modaliases.
>
> Signed-off-by: Andreas Schwab <schwab@xxxxxxxxxxxxxx>
> ---
> This has been tested with an allmodconfig cross build of the m68k
> kernel. This is the difference in the generated module aliases before
> and after the patch:

Nice! I merged your patch to kbuild.git#kbuild.

Thanks,
Michal
--
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/