Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um: Do not propagate initrd parameter to kernel

This parameter is UML specific. It specifies the name of the file
containing the initrd image, which is unknown to kernel.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241011040441.1586345-10-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Tiwei Bie and committed by
Johannes Berg
b9ee5fc8 3f48113d

+1
+1
arch/um/kernel/initrd.c
··· 34 34 35 35 static int __init uml_initrd_setup(char *line, int *add) 36 36 { 37 + *add = 0; 37 38 initrd = line; 38 39 return 0; 39 40 }