init-versionc-remove-version_linux_version_code-symbol.patch removed from -mm tree
The patch titled
Subject: init/version.c: remove Version_<LINUX_VERSION_CODE> symbol
has been removed from the -mm tree. Its filename was
init-versionc-remove-version_linux_version_code-symbol.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Masahiro Yamada <[email protected]>
Subject: init/version.c: remove Version_<LINUX_VERSION_CODE> symbol
This code hunk creates a Version_<LINUX_VERSION_CODE> symbol if CONFIG_KALLSYMS is disabled. For example, building the kernel v5.10 for allnoconfig creates the following symbol:
$ nm vmlinux | grep Version_ c116b028 B Version_330240
There is no in-tree user of this symbol.
Commit 197dcffc8ba0 ("init/version.c: define version_string only if CONFIG_KALLSYMS is not defined") mentions that Version_* is only used with ksymoops.
However, a commit in the pre-git era [1] had added the statement, "ksymoops is useless on 2.6. Please use the Oops in its original format".
That statement existed until commit 4eb9241127a0 ("Documentation:
admin-guide: update bug-hunting.rst") finally removed the stale ksymoops information.
This symbol is no longer needed.
---
init/version.c | 8 -------- 1 file changed, 8 deletions(-)
init/version.c renamed from init/version.c~init-versionc-remove-version_linux_version_code-symbol +0 -8
@@ -16,14 +16,6 @@#include <linux/version.h> #include <linux/proc_ns.h> -#ifndef CONFIG_KALLSYMS -#define version (a) Version_ ## a -#define version_string (a) version(a) - -extern int version_string (LINUX_VERSION_CODE ); -int version_string (LINUX_VERSION_CODE ); -#endif -struct uts_namespace init_uts_ns = { .ns.count =REFCOUNT_INIT (2 ), .name = {
_
Patches currently in -mm which might be from [email protected] are
init-kconfig-make-compile_test-depend-on-has_iomem.patch