[PATCH v4 01/14] modpost: remove left-over cross_compile declaration

3 views
Skip to first unread message

Masahiro Yamada

unread,
May 8, 2022, 3:09:53 PM5/8/22
to linux-...@vger.kernel.org, linux-...@vger.kernel.org, Nathan Chancellor, Nick Desaulniers, Nicolas Schier, Peter Zijlstra, linux-...@vger.kernel.org, linux...@vger.kernel.org, linuxp...@lists.ozlabs.org, clang-bu...@googlegroups.com, Ard Biesheuvel, Sami Tolvanen, Masahiro Yamada
This is a remnant of commit 6543becf26ff ("mod/file2alias: make
modalias generation safe for cross compiling").

Signed-off-by: Masahiro Yamada <masa...@kernel.org>
---

Changes in v4:
- New patch

scripts/mod/modpost.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index cfa127d2bb8f..d9daeff07b83 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -174,7 +174,6 @@ static inline unsigned int get_secindex(const struct elf_info *info,
}

/* file2alias.c */
-extern unsigned int cross_build;
void handle_moddevtable(struct module *mod, struct elf_info *info,
Elf_Sym *sym, const char *symname);
void add_moddevtable(struct buffer *buf, struct module *mod);
--
2.32.0

Masahiro Yamada

unread,
May 12, 2022, 12:37:22 AM5/12/22
to Linux Kbuild mailing list, Linux Kernel Mailing List, Nathan Chancellor, Nick Desaulniers, Nicolas Schier, Peter Zijlstra, linux-modules, linux-s390, linuxppc-dev, clang-built-linux, Ard Biesheuvel, Sami Tolvanen
On Mon, May 9, 2022 at 4:09 AM Masahiro Yamada <masa...@kernel.org> wrote:
>
> This is a remnant of commit 6543becf26ff ("mod/file2alias: make
> modalias generation safe for cross compiling").
>
> Signed-off-by: Masahiro Yamada <masa...@kernel.org>
> ---

Applied to linux-kbuild.


>
> Changes in v4:
> - New patch
>
> scripts/mod/modpost.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
> index cfa127d2bb8f..d9daeff07b83 100644
> --- a/scripts/mod/modpost.h
> +++ b/scripts/mod/modpost.h
> @@ -174,7 +174,6 @@ static inline unsigned int get_secindex(const struct elf_info *info,
> }
>
> /* file2alias.c */
> -extern unsigned int cross_build;
> void handle_moddevtable(struct module *mod, struct elf_info *info,
> Elf_Sym *sym, const char *symname);
> void add_moddevtable(struct buffer *buf, struct module *mod);
> --
> 2.32.0
>
> --
> You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-li...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20220508190631.2386038-2-masahiroy%40kernel.org.



--
Best Regards
Masahiro Yamada
Reply all
Reply to author
Forward
0 new messages