From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Marek Subject: Re: [PATCH] mod/file2alias: make modalias generation safe for cross compiling Date: Thu, 24 Jan 2013 23:22:37 +0100 Message-ID: <5101B42D.2090709@suse.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org To: Andreas Schwab Cc: linux-kbuild@vger.kernel.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-m68k@vger.kernel.org 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 > --- > 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