mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 09:12:07 +00:00
init: fix removal warning for deprecated initrd loading
This won't be removed in 2021, no matter how hard we try. Link: https://lkml.kernel.org/r/20241218123638.34907-1-martink@posteo.de Signed-off-by: Martin Kepplinger <martink@posteo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Joel Granados <joel.granados@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
2f75fb0e52
commit
c1aa905fa1
@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
|
|||||||
extern char *envp_init[];
|
extern char *envp_init[];
|
||||||
int error;
|
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);
|
real_root_dev = new_encode_dev(ROOT_DEV);
|
||||||
create_dev("/dev/root.old", Root_RAM0);
|
create_dev("/dev/root.old", Root_RAM0);
|
||||||
|
Loading…
Reference in New Issue
Block a user