linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] export.h: remove include/asm-generic/export.h
@ 2024-03-23  9:06 Masahiro Yamada
  2024-04-10 14:10 ` patchwork-bot+linux-riscv
  0 siblings, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2024-03-23  9:06 UTC (permalink / raw)
  To: linux-kbuild
  Cc: linux-kernel, Masahiro Yamada, Albert Ou, Arnd Bergmann,
	Palmer Dabbelt, Paul Walmsley, linux-arch, linux-riscv

Commit 3a6dd5f614a1 ("riscv: remove unneeded #include
<asm-generic/export.h>") removed the last use of
include/asm-generic/export.h.

This deprecated header can go away.

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

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
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] export.h: remove include/asm-generic/export.h
  2024-03-23  9:06 [PATCH] export.h: remove include/asm-generic/export.h Masahiro Yamada
@ 2024-04-10 14:10 ` patchwork-bot+linux-riscv
  0 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-04-10 14:10 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: linux-riscv, linux-kbuild, linux-kernel, aou, arnd, palmer,
	paul.walmsley, linux-arch

Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Sat, 23 Mar 2024 18:06:15 +0900 you wrote:
> Commit 3a6dd5f614a1 ("riscv: remove unneeded #include
> <asm-generic/export.h>") removed the last use of
> include/asm-generic/export.h.
> 
> This deprecated header can go away.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> 
> [...]

Here is the summary with links:
  - export.h: remove include/asm-generic/export.h
    https://git.kernel.org/riscv/c/36d37f11f555

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] export.h: remove include/asm-generic/export.h
  2023-11-26  5:49 Masahiro Yamada
  2023-11-26 10:12 ` kernel test robot
@ 2023-11-26 10:16 ` kernel test robot
  1 sibling, 0 replies; 5+ messages in thread
From: kernel test robot @ 2023-11-26 10:16 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild
  Cc: llvm, oe-kbuild-all, Masahiro Yamada, Arnd Bergmann, linux-arch,
	linux-kernel

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  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] export.h: remove include/asm-generic/export.h
  2023-11-26  5:49 Masahiro Yamada
@ 2023-11-26 10:12 ` kernel test robot
  2023-11-26 10:16 ` kernel test robot
  1 sibling, 0 replies; 5+ messages in thread
From: kernel test robot @ 2023-11-26 10:12 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild
  Cc: oe-kbuild-all, Masahiro Yamada, Arnd Bergmann, linux-arch, linux-kernel

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  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] export.h: remove include/asm-generic/export.h
@ 2023-11-26  5:49 Masahiro Yamada
  2023-11-26 10:12 ` kernel test robot
  2023-11-26 10:16 ` kernel test robot
  0 siblings, 2 replies; 5+ messages in thread
From: Masahiro Yamada @ 2023-11-26  5:49 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, Arnd Bergmann, linux-arch, linux-kernel

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

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
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-10 14:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-23  9:06 [PATCH] export.h: remove include/asm-generic/export.h Masahiro Yamada
2024-04-10 14:10 ` patchwork-bot+linux-riscv
  -- strict thread matches above, loose matches on Subject: below --
2023-11-26  5:49 Masahiro Yamada
2023-11-26 10:12 ` kernel test robot
2023-11-26 10:16 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).