[PATCH] init: fix removal warning for deprecated initrd loading

From: Martin Kepplinger
Date: Wed Dec 18 2024 - 07:37:35 EST


This won't be removed in 2021, no matter how hard we try.

Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
---
init/do_mounts_initrd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
index 22c7f41ff642..f86ef92a6c46 100644
--- a/init/do_mounts_initrd.c
+++ b/init/do_mounts_initrd.c
@@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
extern char *envp_init[];
int error;

- pr_warn("using deprecated initrd support, will be removed in 2021.\n");
+ pr_warn("using deprecated initrd support, will be removed soon.\n");

real_root_dev = new_encode_dev(ROOT_DEV);
create_dev("/dev/root.old", Root_RAM0);
--
2.39.5