Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753142AbdHQQ0j (ORCPT ); Thu, 17 Aug 2017 12:26:39 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41774 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750857AbdHQQ0i (ORCPT ); Thu, 17 Aug 2017 12:26:38 -0400 Date: Thu, 17 Aug 2017 09:26:39 -0700 From: Greg KH To: Cihangir Akturk Cc: lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, oleg.drokin@intel.com, andreas.dilger@intel.com Subject: Re: [PATCH] staging: lustre: fix structure size for ARM OABI Message-ID: <20170817162639.GA13066@kroah.com> References: <1502894655-9731-1-git-send-email-cakturk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1502894655-9731-1-git-send-email-cakturk@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 23 On Wed, Aug 16, 2017 at 05:44:15PM +0300, Cihangir Akturk wrote: > When building the kernel for the ARM architecture without setting > CONFIG_AEABI, size of struct lov_user_md_v3 and struct lov_mds_md_v3 > differs, due to different alignment requirements of OABI and EABI. > > Marking the anonymous union within struct lov_user_md_v3 as > '_packed' solves this issue. Otherwise we get the following > error: > > drivers/staging/lustre/lustre/lov/lov_pack.c:352:2: note: in expansion > of macro ‘BUILD_BUG_ON’ > BUILD_BUG_ON(sizeof(lum) != sizeof(struct lov_mds_md_v3)); > > Signed-off-by: Cihangir Akturk > --- > drivers/staging/lustre/lustre/include/lustre/lustre_user.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This file is no longer in the tree :( thanks, greg k-h