lkml.org 
[lkml]   [2013]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mod/file2alias: make modalias generation safe for cross compiling
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@linux-m68k.org>
> ---
> 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


\
 
 \ /
  Last update: 2013-01-25 00:02    [W:0.052 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site