Message ID | 20231126054917.930324-1-masahiroy@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp2312802vqx; Sat, 25 Nov 2023 21:50:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRQb7EsRY5+NN7fxjsLIdPDSxB03LGBBgkAO87OdOHj3/2+52wdXYKQzqtX26bd8D0Y+r2 X-Received: by 2002:a05:6808:1645:b0:3a7:26fd:b229 with SMTP id az5-20020a056808164500b003a726fdb229mr9172497oib.48.1700977809772; Sat, 25 Nov 2023 21:50:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700977809; cv=none; d=google.com; s=arc-20160816; b=dREhX5snUZ64q6b50c2VjeGwG63JABEEfUwXE40k5RhG66wbzhU7L/SM35WXhtyIH8 uhiqWOJ0AZSI5TWhASr9HOaAi0KZlBAqHB5RiB5ly+PtZoMZmCz8L6R8k4gWEHET150E s2KSAZZjOqpUU7HGFMFgPlUDpT5yYDLAjYhgMEIBTHV2alM7GrZy0eD6li6/kXj5UJOS 5x4fmn1TssVon4IXzIaHzzzmOebbuh0oP6vbQUYPw0tIyHmDK4iePq6OQUc3yqgmRgV4 O0eFkSSGEWmZ9c0goZILZzrTi/GqMzAg98GXkLfqml/fT6wAYDVoDOxMLmkd8QRW7gVG GYOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QVbHTKADAWHAsP4sOsvujap5XxanKTP64C3rWup7q0U=; fh=dvV76NdYekyE+cZ/y5S0uehagx58qUnq8Gywd4h/7JE=; b=UaPm3NrHiKeaxmD7SINFPc7dIOA0O3TFJfZcXzKD5b5g9gTMVrpu+o0a0t05o01Slq 3AEXWVkm2nGet7ywx6DB9tfv5Q92r8vHcr0FO+SRiBBRcvURFQHI7d4ypdXhE864laYS BiCGjk1GZZ76PH5XW6pRKs1y7VNPATSvS/bVOFyF+O7CvVU9NbHGtGKEm4WidfxmCAlm CbuufjKynWv4S3FEyyvnh+C9InWKJy+TVbQ8gM+108E5yQNLASoFbLldzecVa9D/TJTT 8c8W4bWOBY605XFUPyex8YIr/EaFhTT3vEvHLFIKR4q3RiSrofII1+VoCybjuiwQso4d 8qzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nzv4qbsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s12-20020a17090a880c00b00278eb61c0ebsi7260429pjn.118.2023.11.25.21.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 21:50:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nzv4qbsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 61EB2805F2E9; Sat, 25 Nov 2023 21:50:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjKZFtu (ORCPT <rfc822;kernel.ruili@gmail.com> + 99 others); Sun, 26 Nov 2023 00:49:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKZFts (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 26 Nov 2023 00:49:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BFB2FC for <linux-kernel@vger.kernel.org>; Sat, 25 Nov 2023 21:49:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB308C433C8; Sun, 26 Nov 2023 05:49:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700977794; bh=4C/rZswEC+KNZtxPpel7E8H6NyrVNRA1dZZz67OEKKc=; h=From:To:Cc:Subject:Date:From; b=Nzv4qbsT8IWJ1LE2WTeLRQMxnAhTInR4SVQjPUCIguaiGxh0gtlsSy+AMk3FZNjRs M+BI6OkkEdCBcHExl/F0kT8lZ9fs++NxBA8zcz2NuvDomcyeMhAfJqA6A17wVzk1/s SnjilwSYrgRtK6txmCVW5sjUCcIXo9xtPq4RyfaVAFoH5PLny6riP2+xPXBHWOGXrJ AWi338pllchscT9MOFbD4l7tZghMvdvmpMZFJjvztdJ75eGYCoxQVb7/EEdiKiu3RW 0KNcxNEAQTMSuDR4GSWQA9nop63rqUIzXLJQ9SbwY7DfkYPSs2lxX+C94Mu0wggyfT 4DlAiqebrJOLQ== From: Masahiro Yamada <masahiroy@kernel.org> To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada <masahiroy@kernel.org>, Arnd Bergmann <arnd@arndb.de>, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] export.h: remove include/asm-generic/export.h Date: Sun, 26 Nov 2023 14:49:17 +0900 Message-Id: <20231126054917.930324-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 25 Nov 2023 21:50:07 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783604507966778040 X-GMAIL-MSGID: 1783604507966778040 |
Series |
export.h: remove include/asm-generic/export.h
|
|
Commit Message
Masahiro Yamada
Nov. 26, 2023, 5:49 a.m. UTC
With the removal of all <asm/export.h> inclusion except tools/,
include/asm-generic/export.h is no longer needed and can be removed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
include/asm-generic/export.h | 11 -----------
1 file changed, 11 deletions(-)
delete mode 100644 include/asm-generic/export.h
Comments
Hi Masahiro, kernel test robot noticed the following build errors: [auto build test ERROR on v6.7-rc2] [also build test ERROR on linus/master next-20231124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Masahiro-Yamada/export-h-remove-include-asm-generic-export-h/20231126-135120 base: v6.7-rc2 patch link: https://lore.kernel.org/r/20231126054917.930324-1-masahiroy%40kernel.org patch subject: [PATCH] export.h: remove include/asm-generic/export.h config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20231126/202311261737.dQEkPNHF-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231126/202311261737.dQEkPNHF-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202311261737.dQEkPNHF-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/arm64/kernel/vdso/note.S:15: >> arch/arm64/include/asm/assembler.h:15:10: fatal error: asm-generic/export.h: No such file or directory 15 | #include <asm-generic/export.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from arch/arm64/include/asm/linkage.h:5, from include/linux/linkage.h:8, from arch/arm64/kernel/vdso/sigreturn.S:15: >> arch/arm64/include/asm/assembler.h:15:10: fatal error: asm-generic/export.h: No such file or directory 15 | #include <asm-generic/export.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/vdso/note.o] Error 1 make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/vdso/sigreturn.o] Error 1 make[3]: Target 'include/generated/vdso-offsets.h' not remade because of errors. make[3]: Target 'arch/arm64/kernel/vdso/vdso.so' not remade because of errors. make[2]: *** [arch/arm64/Makefile:194: vdso_prepare] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +15 arch/arm64/include/asm/assembler.h f3e39273e0a9a5 Marc Zyngier 2015-02-20 14 386b3c7bdafcc6 Mark Rutland 2018-12-07 @15 #include <asm-generic/export.h> 386b3c7bdafcc6 Mark Rutland 2018-12-07 16
Hi Masahiro, kernel test robot noticed the following build errors: [auto build test ERROR on v6.7-rc2] [also build test ERROR on linus/master next-20231124] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Masahiro-Yamada/export-h-remove-include-asm-generic-export-h/20231126-135120 base: v6.7-rc2 patch link: https://lore.kernel.org/r/20231126054917.930324-1-masahiroy%40kernel.org patch subject: [PATCH] export.h: remove include/asm-generic/export.h config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231126/202311261754.Kd1lFhPF-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231126/202311261754.Kd1lFhPF-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202311261754.Kd1lFhPF-lkp@intel.com/ All errors (new ones prefixed by >>): scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples In file included from arch/arm64/kernel/vdso/note.S:15: >> arch/arm64/include/asm/assembler.h:15:10: fatal error: 'asm-generic/export.h' file not found 15 | #include <asm-generic/export.h> | ^~~~~~~~~~~~~~~~~~~~~~ In file included from arch/arm64/kernel/vdso/sigreturn.S:15: In file included from include/linux/linkage.h:8: In file included from arch/arm64/include/asm/linkage.h:5: >> arch/arm64/include/asm/assembler.h:15:10: fatal error: 'asm-generic/export.h' file not found 15 | #include <asm-generic/export.h> | ^~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/vdso/note.o] Error 1 1 error generated. make[3]: *** [scripts/Makefile.build:360: arch/arm64/kernel/vdso/sigreturn.o] Error 1 make[3]: Target 'include/generated/vdso-offsets.h' not remade because of errors. make[3]: Target 'arch/arm64/kernel/vdso/vdso.so' not remade because of errors. make[2]: *** [arch/arm64/Makefile:194: vdso_prepare] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:234: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +15 arch/arm64/include/asm/assembler.h f3e39273e0a9a5 Marc Zyngier 2015-02-20 14 386b3c7bdafcc6 Mark Rutland 2018-12-07 @15 #include <asm-generic/export.h> 386b3c7bdafcc6 Mark Rutland 2018-12-07 16
diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h deleted file mode 100644 index 570cd4da7210..000000000000 --- a/include/asm-generic/export.h +++ /dev/null @@ -1,11 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_EXPORT_H -#define __ASM_GENERIC_EXPORT_H - -/* - * <asm/export.h> and <asm-generic/export.h> are deprecated. - * Please include <linux/export.h> directly. - */ -#include <linux/export.h> - -#endif