Skip to content

Commit b9ee5fc

Browse files
btw616jmberg-intel
authored andcommitted
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>
1 parent 3f48113 commit b9ee5fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/um/kernel/initrd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ int __init read_initrd(void)
3434

3535
static int __init uml_initrd_setup(char *line, int *add)
3636
{
37+
*add = 0;
3738
initrd = line;
3839
return 0;
3940
}

0 commit comments

Comments
 (0)