Received: by 10.223.164.202 with SMTP id h10csp247521wrb; Wed, 8 Nov 2017 15:44:41 -0800 (PST) X-Google-Smtp-Source: ABhQp+Tbx5W9dBmyroBdzXQ5nJzs8RmLoxMKGoIY6i4vHcbWDqgXcF5XOnPWp/xOy++hi+hBOraw X-Received: by 10.99.170.66 with SMTP id x2mr2025883pgo.117.1510184681893; Wed, 08 Nov 2017 15:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510184681; cv=none; d=google.com; s=arc-20160816; b=JebadDLdnROTwIG6qdb7YxF9pb3RI/6iCeqWMmBV0X1BUaA2Py/x9Hkh9KXUz0icFC 09CYOfQdl8X4vRS6eU1OXtiEHfC4OhdqBOY2XXLqX6zJ1Z57owH1HVm0OnetkYiaHtuf DFg6sYItz/3KIv0Uqj7a6yKCYjmAHo9tdFhWp0ItVIFdzu6vfKTcHO4NuWc2/heA+ILo jWvHJjl5GFveL+wlTVwciV7LjdMW0o5/ELxyZR2WEtE2G20cZyC/7hSIRglNPYnMxYn1 9LuJazZvQXcapLwCA01J6/3M64/HT8BAegIOzIYlyzxouYGdeMRJ+1UbzSjmUC8lPaMX c69A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hSMlI4NZT1T97YXNGQbyhrc/FctIuzUEnwFLvzvv2Ys=; b=aQyRC4UCwGhMZsfq6veGXE+I+iki3WZ4cxF9+4wkpq7PerWAT5wFbsObuTqvlPnYVl Kod6K3alJhtRyeh7V6EeumzW9POEL2lCUabDVRWwr/Y26NC9jp13fjTUXN2ROL2FHdrE tKC5qr7Jmy5iYGqdVkZmM1MxucMHqdGGKukS13M1YB8JLb3C/RxFei9KcPgK9TbkRXEA bG7dkGw85NGjKjn1dcSmplmxClsfAYKpB4/dt8RTpfeWEjFh6hfyVL4ASLWGTgHGqj76 v7CDlZ806vDtJpM0R55ZpsvMRZrKNNPHwMIT80oWwmAeYAFVex2iOBC+OMTetXWjo4NA T8nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=kBuCPm2L; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v15si5302593pfj.120.2017.11.08.15.44.30; Wed, 08 Nov 2017 15:44:41 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=kBuCPm2L; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753132AbdKHXnw (ORCPT + 84 others); Wed, 8 Nov 2017 18:43:52 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:44375 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753026AbdKHXnt (ORCPT ); Wed, 8 Nov 2017 18:43:49 -0500 Received: by mail-io0-f171.google.com with SMTP id m16so7880042iod.1 for ; Wed, 08 Nov 2017 15:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hSMlI4NZT1T97YXNGQbyhrc/FctIuzUEnwFLvzvv2Ys=; b=kBuCPm2LPqA+1BbN+POZm50IMngRomE4x7M7YAtcKU3JDQRsFp0UTmrb+DgiAEIs8C KFzn/qJ1VXPpH0l+GwAdDNq6JZ+lcgFt8K3IfkYCK1OJ3GyjFpwscerbJJGhj6xeh4F1 0Q63T6l8hcf9jFpDku+OdxghCt0iSi/fZ6sGIWu3UnWmDf6IZKNUOlueHLaTfeP5wcjf zXUd0y57nVBnF8Q0cCC8d1xALihXNNE74b5lXve42eD524wzHwh9YIi5RKHNB4LqRQTP qo8yu5oQVb7+vBKlC7a7OxbYVRWBiPNEiOi8rO0REr9cIm7at7FjXVKDRIclTifVQPBA 1lZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hSMlI4NZT1T97YXNGQbyhrc/FctIuzUEnwFLvzvv2Ys=; b=gJGftVr5J75NGfikF4F+2D02Op1odjecvxXrrn7xi1ZuSNMvkPm48N5zDRk5sKgfX2 9wpdvL/+XwLhT3nzXp3Z8NzieOWkwnlphPclYkCM4/Viv40gmtmxu3vF6EYKpiKFgs29 b0kMcQ9kp5afBkfFJrqDlKKgmpIWVZ8jrq0OGHxVKBzWxGoIzV4rvAlv+szHIGZB5a1m kamouoEyiB0VF/ow+KnAMkl/sx0wcfGjjQEWEkbLjkvDYy5Zs+G49Uhk+kqlYlLw2WXE /cL3ZDFXqdsclr/WEf1HjGRNoj7zyUuAZtgaBVOpWTsVJbgMVZmjgMwqI60mc9nVlFhp mjPg== X-Gm-Message-State: AJaThX7pmPe/ETWScTEk+bCjzv3L51fyzTiJetc8999SqPnNWCQzT10H cdrdSxzH/EuP3/A4JgxSgWNxnu8kAt6Fsh4mSpCDIQ== X-Received: by 10.107.191.197 with SMTP id p188mr2892860iof.177.1510184628256; Wed, 08 Nov 2017 15:43:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.82 with HTTP; Wed, 8 Nov 2017 15:43:47 -0800 (PST) In-Reply-To: <20171108162358.3a6d96bb@canb.auug.org.au> References: <20171108162358.3a6d96bb@canb.auug.org.au> From: Kees Cook Date: Wed, 8 Nov 2017 15:43:47 -0800 Message-ID: Subject: Re: linux-next: build failure after merge of the kspp tree To: Stephen Rothwell Cc: "Darrick J. Wong" , David Chinner , linux-xfs@vger.kernel.org, Linux-Next Mailing List , Linux Kernel Mailing List , David Windsor , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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! -Kees -- Kees Cook Pixel Security From 1583483273139093098@xxx Wed Nov 08 07:48:48 +0000 2017 X-GM-THRID: 1583483273139093098 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread