Received: by 10.223.164.202 with SMTP id h10csp274254wrb; Wed, 8 Nov 2017 16:20:29 -0800 (PST) X-Google-Smtp-Source: ABhQp+TZBe/ScGxb6GP0BiO8IiXym79f0qwRWpEbUk8+yhnN/JvARiNahE6Rc7qoXF1ORZhFcXcU X-Received: by 10.159.206.132 with SMTP id bg4mr2003768plb.129.1510186829159; Wed, 08 Nov 2017 16:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510186829; cv=none; d=google.com; s=arc-20160816; b=L9GZSI61Ans9qbKwiKXT0CSIoIwmjbsODrw5WdS1u7Ry6pJkSPIMvUsEm7zpV47pHa CqBfKzhTLdUPRoIw3do8K2CXk6vXTE6fNMfWFQ9WCGZFNp4ui6xdfJ5zLTQQ4RuHQV4G eD2m87oMyBtuvgvmtxhd5fA9WD7wURxrRHZRE8zdA61GdzzKj1w9NFICP8uyB6Sz8+7f 1nJ17pf81fDIL+C2RFGU+V6iLwTM7AUruF/p+Rh2PoteD5yjmwaQOISJfstBHYVJCPER cbL61XxPtg6QeUoJbioY0YZYa5QSsLR6N0SIE34tKnqgv3qvTcRJ+MneZhsSJgbBY5jw EPJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Rl425rHC/RtcDz0ITxj3OLLYrX62JeW+YH+VJtWvY28=; b=CRISwaJfIBsKjWIFtGZZ34AFUiYcTYAAJl/7gBPDYY/WTb32MUjL1XpNkeNo9vEUUT rPx2mLVgLL4T2KGgGT/CXxjJclOoNzNgCtXXPtFnsrCJp+vyf58qAAYf+VeACkaI1sdP O8EAsK1VsDagm2xneUtf2H3PzzpkX9IoqIHxsw3XftaWhRgtGcqIbIgEo0LbomNSFTvg YTDxVnev/dB7IRlVwd4AEA5J+1InhghqM88KzGkzBYzhjNM81LWVqaJBDeTlsb0bDLHq UfHFjcD9d+TSHEyyebxUsuPtdpgK/jBnNgTFZtndIq+B2v/7pD/AlMZ2OskjCySPUmoD xfMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si5052555pgv.560.2017.11.08.16.20.17; Wed, 08 Nov 2017 16:20:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbdKIASu (ORCPT + 84 others); Wed, 8 Nov 2017 19:18:50 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:29029 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114AbdKIASs (ORCPT ); Wed, 8 Nov 2017 19:18:48 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vA90Id5q000937 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2017 00:18:39 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA90IcGr005114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2017 00:18:38 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id vA90IalF018258; Thu, 9 Nov 2017 00:18:36 GMT Received: from localhost (/73.25.142.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Nov 2017 16:18:36 -0800 Date: Wed, 8 Nov 2017 16:18:35 -0800 From: "Darrick J. Wong" To: Kees Cook Cc: Stephen Rothwell , David Chinner , linux-xfs@vger.kernel.org, Linux-Next Mailing List , Linux Kernel Mailing List , David Windsor , Christoph Hellwig Subject: Re: linux-next: build failure after merge of the kspp tree Message-ID: <20171109001835.GH26910@magnolia> References: <20171108162358.3a6d96bb@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 08, 2017 at 03:43:47PM -0800, Kees Cook wrote: > On Tue, Nov 7, 2017 at 9:23 PM, Stephen Rothwell wrote: > > Hi Kees, > > > > After merging the kspp tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > In file included from include/linux/compiler_types.h:58:0, > > from include/uapi/linux/stddef.h:2, > > from include/linux/stddef.h:5, > > from include/uapi/linux/posix_types.h:5, > > from include/uapi/linux/types.h:14, > > from include/linux/types.h:6, > > from fs/xfs/xfs_linux.h:21, > > from fs/xfs/xfs.h:35, > > from fs/xfs/xfs_super.c:19: > > fs/xfs/xfs_super.c: In function 'xfs_init_zones': > > include/linux/compiler-gcc.h:166:2: error: 'xfs_ifork_t {aka struct xfs_ifork}' has no member named 'if_u2' > > __builtin_offsetof(a, b) > > ^ > > include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' > > #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) > > ^ > > fs/xfs/xfs_super.c:1862:4: note: in expansion of macro 'offsetof' > > offsetof(xfs_inode_t, i_df.if_u2.if_inline_data), > > ^ > > In file included from include/uapi/linux/posix_types.h:5:0, > > from include/uapi/linux/types.h:14, > > from include/linux/types.h:6, > > from fs/xfs/xfs_linux.h:21, > > from fs/xfs/xfs.h:35, > > from fs/xfs/xfs_super.c:19: > > fs/xfs/xfs_super.c:1863:34: error: 'xfs_ifork_t {aka struct xfs_ifork}' has no member named 'if_u2' > > sizeof_field(xfs_inode_t, i_df.if_u2.if_inline_data), > > ^ > > include/linux/stddef.h:22:66: note: in definition of macro 'sizeof_field' > > #define sizeof_field(structure, field) sizeof((((structure *)0)->field)) > > ^ > > > > Caused by commit > > > > 1d48144b9688 ("xfs: Define usercopy region in xfs_inode slab cache") > > > > interacting with commit > > > > 43518812d297 ("xfs: remove support for inlining data/extents into the inode fork") > > > > from the tree. > > > > I just reverted the kspp tree commit as it seems like it is no longer > > needed. > > Yup, that looks like the correct fix. Thanks! Agreed. I guess we'll see you for round X when you get to general kmalloc annotating. :) --D > -Kees > > -- > Kees Cook > Pixel Security > -- > To unsubscribe from this list: send the line "unsubscribe linux-xfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html From 1583543413026249781@xxx Wed Nov 08 23:44:41 +0000 2017 X-GM-THRID: 1583483273139093098 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread