From: Masahiro Yamada <masahiroy@kernel.org> To: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org> Cc: Al Viro <viro@zeniv.linux.org.uk>, Nicolas Pitre <npitre@baylibre.com>, Luis Chamberlain <mcgrof@kernel.org>, linux-modules <linux-modules@vger.kernel.org>, Ard Biesheuvel <ardb@kernel.org>, Alessio Igor Bogani <abogani@kernel.org>, Andy Whitcroft <apw@canonical.com>, Arnd Bergmann <arnd@arndb.de>, Dwaipayan Ray <dwaipayanray1@gmail.com>, Joe Perches <joe@perches.com>, Lukas Bulwahn <lukas.bulwahn@gmail.com>, Michal Marek <michal.lkml@markovi.net>, Nick Desaulniers <ndesaulniers@google.com>, Rusty Russell <rusty@rustcorp.com.au>, linux-arch <linux-arch@vger.kernel.org>, linux-ia64@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 0/7] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL() Date: Sun, 12 Jun 2022 03:51:08 +0900 [thread overview] Message-ID: <CAK7LNARDLgNDtneabZezc3GAcQ4tZJPyK5+yKqsSuXDb6f+jXA@mail.gmail.com> (raw) In-Reply-To: <20220610183236.1272216-1-masahiroy@kernel.org> On Sat, Jun 11, 2022 at 3:34 AM Masahiro Yamada <masahiroy@kernel.org> wrote: > > > This patch set refactors EXPORT_SYMBOL, <linux/export.h> and <asm/export.h>. > > You can still put EXPORT_SYMBOL() in *.S file, very close to the definition, > but you do not need to care about whether it is a function or a data. > Remove EXPORT_DATA_SYMBOL(). > Sorry, please ignore this patch set. With further testing for ia64, I realized it was not working. > > Masahiro Yamada (7): > modpost: fix section mismatch check for exported init/exit sections > modpost: put get_secindex() call inside sec_name() > kbuild: generate struct kernel_symbol by modpost > ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL* > checkpatch: warn if <asm/export.h> is included > modpost: merge sym_update_namespace() into sym_add_exported() > modpost: use null string instead of NULL pointer for default namespace > > arch/ia64/include/asm/Kbuild | 1 + > arch/ia64/include/asm/export.h | 3 - > arch/ia64/kernel/head.S | 2 +- > arch/ia64/kernel/ivt.S | 2 +- > include/asm-generic/export.h | 83 +------------------ > include/linux/export-internal.h | 44 ++++++++++ > include/linux/export.h | 97 ++++++++-------------- > kernel/module/internal.h | 12 +++ > kernel/module/main.c | 1 - > scripts/Makefile.build | 8 +- > scripts/check-local-export | 4 +- > scripts/checkpatch.pl | 7 ++ > scripts/mod/modpost.c | 139 +++++++++++++++++--------------- > scripts/mod/modpost.h | 1 + > 14 files changed, 182 insertions(+), 222 deletions(-) > delete mode 100644 arch/ia64/include/asm/export.h > > -- > 2.32.0 > -- Best Regards Masahiro Yamada
WARNING: multiple messages have this Message-ID (diff)
From: Masahiro Yamada <masahiroy@kernel.org> To: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org> Cc: Al Viro <viro@zeniv.linux.org.uk>, Nicolas Pitre <npitre@baylibre.com>, Luis Chamberlain <mcgrof@kernel.org>, linux-modules <linux-modules@vger.kernel.org>, Ard Biesheuvel <ardb@kernel.org>, Alessio Igor Bogani <abogani@kernel.org>, Andy Whitcroft <apw@canonical.com>, Arnd Bergmann <arnd@arndb.de>, Dwaipayan Ray <dwaipayanray1@gmail.com>, Joe Perches <joe@perches.com>, Lukas Bulwahn <lukas.bulwahn@gmail.com>, Michal Marek <michal.lkml@markovi.net>, Nick Desaulniers <ndesaulniers@google.com>, Rusty Russell <rusty@rustcorp.com.au>, linux-arch <linux-arch@vger.kernel.org>, linux-ia64@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 0/7] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL() Date: Sat, 11 Jun 2022 18:51:08 +0000 [thread overview] Message-ID: <CAK7LNARDLgNDtneabZezc3GAcQ4tZJPyK5+yKqsSuXDb6f+jXA@mail.gmail.com> (raw) In-Reply-To: <20220610183236.1272216-1-masahiroy@kernel.org> On Sat, Jun 11, 2022 at 3:34 AM Masahiro Yamada <masahiroy@kernel.org> wrote: > > > This patch set refactors EXPORT_SYMBOL, <linux/export.h> and <asm/export.h>. > > You can still put EXPORT_SYMBOL() in *.S file, very close to the definition, > but you do not need to care about whether it is a function or a data. > Remove EXPORT_DATA_SYMBOL(). > Sorry, please ignore this patch set. With further testing for ia64, I realized it was not working. > > Masahiro Yamada (7): > modpost: fix section mismatch check for exported init/exit sections > modpost: put get_secindex() call inside sec_name() > kbuild: generate struct kernel_symbol by modpost > ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL* > checkpatch: warn if <asm/export.h> is included > modpost: merge sym_update_namespace() into sym_add_exported() > modpost: use null string instead of NULL pointer for default namespace > > arch/ia64/include/asm/Kbuild | 1 + > arch/ia64/include/asm/export.h | 3 - > arch/ia64/kernel/head.S | 2 +- > arch/ia64/kernel/ivt.S | 2 +- > include/asm-generic/export.h | 83 +------------------ > include/linux/export-internal.h | 44 ++++++++++ > include/linux/export.h | 97 ++++++++-------------- > kernel/module/internal.h | 12 +++ > kernel/module/main.c | 1 - > scripts/Makefile.build | 8 +- > scripts/check-local-export | 4 +- > scripts/checkpatch.pl | 7 ++ > scripts/mod/modpost.c | 139 +++++++++++++++++--------------- > scripts/mod/modpost.h | 1 + > 14 files changed, 182 insertions(+), 222 deletions(-) > delete mode 100644 arch/ia64/include/asm/export.h > > -- > 2.32.0 > -- Best Regards Masahiro Yamada
next prev parent reply other threads:[~2022-06-11 18:52 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-06-10 18:32 [PATCH 0/7] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL() Masahiro Yamada 2022-06-10 18:32 ` Masahiro Yamada 2022-06-10 18:32 ` [PATCH 1/7] modpost: fix section mismatch check for exported init/exit sections Masahiro Yamada 2022-06-10 18:32 ` [PATCH 2/7] modpost: put get_secindex() call inside sec_name() Masahiro Yamada 2022-06-10 21:41 ` Nick Desaulniers 2022-06-10 18:32 ` [PATCH 3/7] kbuild: generate struct kernel_symbol by modpost Masahiro Yamada 2022-06-10 18:32 ` Masahiro Yamada 2022-06-11 18:47 ` Masahiro Yamada 2022-06-11 18:47 ` Masahiro Yamada 2022-06-10 18:32 ` [PATCH 4/7] ia64,export.h: replace EXPORT_DATA_SYMBOL* with EXPORT_SYMBOL* Masahiro Yamada 2022-06-10 18:32 ` Masahiro Yamada 2022-06-11 18:49 ` Masahiro Yamada 2022-06-11 18:49 ` Masahiro Yamada 2022-06-10 18:32 ` [PATCH 5/7] checkpatch: warn if <asm/export.h> is included Masahiro Yamada 2022-06-11 1:33 ` Joe Perches 2022-06-11 18:56 ` Masahiro Yamada 2022-06-10 18:32 ` [PATCH 6/7] modpost: merge sym_update_namespace() into sym_add_exported() Masahiro Yamada 2022-06-10 22:26 ` Nick Desaulniers 2022-06-10 18:32 ` [PATCH 7/7] modpost: use null string instead of NULL pointer for default namespace Masahiro Yamada 2022-07-25 16:42 ` Nick Desaulniers 2022-06-11 18:51 ` Masahiro Yamada [this message] 2022-06-11 18:51 ` [PATCH 0/7] Unify <linux/export.h> and <asm/export.h>, remove EXPORT_DATA_SYMBOL() Masahiro Yamada
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CAK7LNARDLgNDtneabZezc3GAcQ4tZJPyK5+yKqsSuXDb6f+jXA@mail.gmail.com \ --to=masahiroy@kernel.org \ --cc=abogani@kernel.org \ --cc=apw@canonical.com \ --cc=ardb@kernel.org \ --cc=arnd@arndb.de \ --cc=dwaipayanray1@gmail.com \ --cc=joe@perches.com \ --cc=linux-arch@vger.kernel.org \ --cc=linux-ia64@vger.kernel.org \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-modules@vger.kernel.org \ --cc=lukas.bulwahn@gmail.com \ --cc=mcgrof@kernel.org \ --cc=michal.lkml@markovi.net \ --cc=ndesaulniers@google.com \ --cc=npitre@baylibre.com \ --cc=rusty@rustcorp.com.au \ --cc=viro@zeniv.linux.org.uk \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.