Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2113930ybg; Thu, 30 Jul 2020 10:37:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwk+UK5AE5jb/ejj/L4qZfNXbbl3rBTxHlVoO7Qwe1Jmbc2mp4jPqxJAoJ/X8VI0urY3SGv X-Received: by 2002:a17:906:c201:: with SMTP id d1mr231610ejz.40.1596130661681; Thu, 30 Jul 2020 10:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596130661; cv=none; d=google.com; s=arc-20160816; b=BdYlGAfWWjDYVkaUFi8O2MyX/NWNp0UV2IBdrClaR//zeMerWJUjtaIvYbMPA2V2Xg +Gn8vxdmiJjHC/V5v8uDlKa2+wuM7ZVaXHM8MWwrjauIM/GsGLN8xl8P0e9gZE90mm1y nlt6Ko3wRJaxyQjrrya2pqIFZmIuEt4eB/VRw4IjNGPv6o9JIyxkXhh/F5zmp6KkYF2r UfsY2T4EtXwe15P4sjgW1VqyozWANMFD3nHU8n23TpZMFLheCV59TSO5yxtMxQkGiSHW 2VApSJTR6Xeh1VQ72mwL8BIVBXMNUBXsgVE3CweJSLZErYD0VMrT41cPIm8RrML3IGnE ko3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kKBYFk9kySZz7tEHZOuAKEjulhjUQcxCphxcALe8cTI=; b=ESupmq7GnCTmLlf+j3iELDkI8WvadYF5d1iZ6WVt0uJkidYK1oKMkYoMyotu5R46uP 00eRvy/sygkPZoPc2G3rHyVAISNWOtOVJEGpzfCs52tIV26HL2jUBCFLWhhoVhR7pY1E ikeCcvRQWXLyav0pkzIPCaal5I+tdhtjmZnixmMWrXuI1H8b6MxAYMiATvOlfIv1aAVq Z4zyOJvzxnrgqI/nLPIjnrM0aKaryMU2M2yNkQJ3cioDLtrqhAy1bX2KCbJxESLvNDhd ARF2WKX0HiO3Tp9kpRi0UskUKng0fteHxhv3Mzf/G96ihGWBtd5R9+HVXs8Brpl7fTk3 sG5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VnWTck5x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k30si4880904edj.513.2020.07.30.10.37.19; Thu, 30 Jul 2020 10:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VnWTck5x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730270AbgG3Rel (ORCPT + 99 others); Thu, 30 Jul 2020 13:34:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727080AbgG3Rel (ORCPT ); Thu, 30 Jul 2020 13:34:41 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D10EC061574; Thu, 30 Jul 2020 10:34:41 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id l13so6521435qvt.10; Thu, 30 Jul 2020 10:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=kKBYFk9kySZz7tEHZOuAKEjulhjUQcxCphxcALe8cTI=; b=VnWTck5xxmqkOwWU7xobpDi5KXn1/cdayp+uqCmxXDbjHn/33pZFiUFHSEzMyX69kE e0yOqJAb3tYvgaBfkdqMwDGCRGRMoFpBTG/oxv1/ohbrkl9TlL0odGH6LTpzTPo5kp9W W77zQn2zjc6QuSvGKYvWbBAeKhXhf84k5X7qr/MDiJs1xfoRkH+E2DYbt7lbjnprRjt/ fLkyVk54L2dNiPH4nGbccny4yz3pA6zUTt/AGKGBCWTZRN2Zhs5eKjt11MIsDFPsKYen aWi5Mga0mIrp9hdwhhbUGeWDHw/6VcoZ0ZMpqyXOzvnvV4gmVUItpKSUQ0RgioMancab qebw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=kKBYFk9kySZz7tEHZOuAKEjulhjUQcxCphxcALe8cTI=; b=UJN5RVFJcnuz3O4sR3jpyGbt2rVzL3GjmPJgQpUFeOPnGSgdFd46EF70wsecc3T125 Jx0YBtmfg8VhtX6BetMUsCRSH0TVBFHyx3O486FV7wk+skWyWGBsakPhRppJVX4ePSni OGMikEEhZCmx8zbwySOPd+sltufrxr5gAnqtDVMAvAk6/yZZxq/UJdJzsun4oA+xN74C NeCU1HTTnm3JbJAcPct4w9FZY9K29/XItzTqyFMiX9cPPq1bZSYhhnD4PeHRoaBBGk3j 9Dm2ahaFxzDFwnT97MitE21GSoriC27k3kmlkQ9JvCiB+ZejX22q09ACKDGYdv9w4p2F KjXQ== X-Gm-Message-State: AOAM533nJgBqVClkw+BL7doYUr2SwZjqHF4uuE6PcF43kpbzljMMXmgA Mo09N/X65nhhCd3LUQnKFD4/3B3W X-Received: by 2002:a0c:d44e:: with SMTP id r14mr169617qvh.105.1596130480142; Thu, 30 Jul 2020 10:34:40 -0700 (PDT) Received: from ubuntu-n2-xlarge-x86 ([2604:1380:45d1:2600::1]) by smtp.gmail.com with ESMTPSA id e2sm1880549qki.22.2020.07.30.10.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 10:34:39 -0700 (PDT) Date: Thu, 30 Jul 2020 10:34:37 -0700 From: Nathan Chancellor To: Christoph Hellwig Cc: x86@kernel.org, Jan Kara , linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH 1/4] arm64: stop using directly Message-ID: <20200730173437.GA1172439@ubuntu-n2-xlarge-x86> References: <20200726160401.311569-1-hch@lst.de> <20200726160401.311569-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200726160401.311569-2-hch@lst.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 06:03:58PM +0200, Christoph Hellwig wrote: > Always use so that we can move more declarations to > common code. In two of the three cases the asm include was in addition > to an existing one for anyway. > > Signed-off-by: Christoph Hellwig > --- > arch/arm64/include/asm/stat.h | 2 +- > arch/arm64/kernel/process.c | 1 - > arch/arm64/kernel/ptrace.c | 1 - > 3 files changed, 1 insertion(+), 3 deletions(-) > > diff --git a/arch/arm64/include/asm/stat.h b/arch/arm64/include/asm/stat.h > index 3b4a62f5aeb0c3..1b5ac1ef5d04cc 100644 > --- a/arch/arm64/include/asm/stat.h > +++ b/arch/arm64/include/asm/stat.h > @@ -10,7 +10,7 @@ > #ifdef CONFIG_COMPAT > > #include > -#include > +#include This breaks arm64 defconfig: $ make -skj"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux- distclean defconfig init/main.o In file included from ./include/linux/compat.h:17, from ./arch/arm64/include/asm/stat.h:13, from ./include/linux/stat.h:6, from ./include/linux/sysfs.h:22, from ./include/linux/kobject.h:20, from ./include/linux/of.h:17, from ./include/linux/irqdomain.h:35, from ./include/linux/acpi.h:13, from ./include/acpi/apei.h:9, from ./include/acpi/ghes.h:5, from ./include/linux/arm_sdei.h:8, from arch/arm64/kernel/asm-offsets.c:10: ./include/linux/fs.h: In function 'vfs_whiteout': ./include/linux/fs.h:1736:32: error: 'S_IFCHR' undeclared (first use in this function) 1736 | return vfs_mknod(dir, dentry, S_IFCHR | WHITEOUT_MODE, WHITEOUT_DEV); | ^~~~~~~ ./include/linux/fs.h:1736:32: note: each undeclared identifier is reported only once for each function it appears in ./include/linux/fs.h: At top level: ./include/linux/fs.h:1886:46: warning: 'struct kstat' declared inside parameter list will not be visible outside of this definition or declaration 1886 | int (*getattr) (const struct path *, struct kstat *, u32, unsigned int); | ^~~~~ ./include/linux/fs.h: In function '__mandatory_lock': ./include/linux/fs.h:2372:25: error: 'S_ISGID' undeclared (first use in this function); did you mean 'SIGIO'? 2372 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID; | ^~~~~~~ | SIGIO ./include/linux/fs.h:2372:35: error: 'S_IXGRP' undeclared (first use in this function) 2372 | return (ino->i_mode & (S_ISGID | S_IXGRP)) == S_ISGID; | ^~~~~~~ ... $ git bisect log # bad: [7b287a5c6ac518c415a258f2aa7b1ebb25c263d2] Add linux-next specific files for 20200730 # good: [d3590ebf6f91350192737dd1d1b219c05277f067] Merge tag 'audit-pr-20200729' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit git bisect start '7b287a5c6ac518c415a258f2aa7b1ebb25c263d2' 'd3590ebf6f91350192737dd1d1b219c05277f067' # bad: [1f1ed12be70e9eb4e05ac206c6ad6a5a31f5b921] Merge remote-tracking branch 'crypto/master' git bisect bad 1f1ed12be70e9eb4e05ac206c6ad6a5a31f5b921 # bad: [07fad673c2f1a02440c879c34f8182b12786a735] Merge remote-tracking branch 'hid/for-next' git bisect bad 07fad673c2f1a02440c879c34f8182b12786a735 # good: [7a77c92312546a74d3507484b256ae17bfb2cfe2] Merge remote-tracking branch 'm68knommu/for-next' git bisect good 7a77c92312546a74d3507484b256ae17bfb2cfe2 # good: [40dd62f180e38317e744d7f82c98af31a24fd2c9] Merge remote-tracking branch 'f2fs/dev' git bisect good 40dd62f180e38317e744d7f82c98af31a24fd2c9 # bad: [52138dfdd2192bcfc7d3bc2e79475966ee4b20c4] Merge remote-tracking branch 'printk/for-next' git bisect bad 52138dfdd2192bcfc7d3bc2e79475966ee4b20c4 # good: [a37c3e37fa3fa1381e03d918d708f82927ddd160] Merge remote-tracking branch 'xfs/for-next' git bisect good a37c3e37fa3fa1381e03d918d708f82927ddd160 # good: [4e523547e2bf755d40cb10e85795c2f9620ff3fb] nvme-pci: add a blank line after declarations git bisect good 4e523547e2bf755d40cb10e85795c2f9620ff3fb # bad: [5066741180729f7bad9401de34efda3766c3274a] Merge branches 'fixes' and 'work.quota-compat' into for-next git bisect bad 5066741180729f7bad9401de34efda3766c3274a # good: [4ff8a356daafaafbf90141ee7a3b8fdc18e560a8] ia64: switch to ->regset_get() git bisect good 4ff8a356daafaafbf90141ee7a3b8fdc18e560a8 # good: [ce327e1c54119179066d6f3573a28001febc9265] regset: kill user_regset_copyout{,_zero}() git bisect good ce327e1c54119179066d6f3573a28001febc9265 # good: [1697a322e28ba96d35953c5d824540d172546d36] [elf-fdpic] switch coredump to regsets git bisect good 1697a322e28ba96d35953c5d824540d172546d36 # good: [259bf01c1bd1f049958496a089c4f334fe0c8a48] Merge branches 'work.misc', 'work.regset' and 'work.fdpic' into for-next git bisect good 259bf01c1bd1f049958496a089c4f334fe0c8a48 # bad: [0a3a4497a1de8e68e809a693b549c7ec2f195301] compat: lift compat_s64 and compat_u64 to git bisect bad 0a3a4497a1de8e68e809a693b549c7ec2f195301 # bad: [b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c] arm64: stop using directly git bisect bad b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c # first bad commit: [b902bfb3f0e9d07ec9f48256e57e5c5de6108f8c] arm64: stop using directly I assume the stat header order should be messed around with but I am not sure what exactly that would entail to make sure that nothing else breaks, hence just the report. Cheers, Nathan