diff mbox series

export.h: remove include/asm-generic/export.h

Message ID 20231126054917.930324-1-masahiroy@kernel.org (mailing list archive)
State New, archived
Headers show
Series export.h: remove include/asm-generic/export.h | expand

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

kernel test robot Nov. 26, 2023, 10:12 a.m. UTC | #1
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
kernel test robot Nov. 26, 2023, 10:16 a.m. UTC | #2
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 mbox series

Patch

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