diff options
author | 2024-10-11 12:04:41 +0800 | |
---|---|---|
committer | 2024-10-23 09:52:49 +0200 | |
commit | b9ee5fc8f4aa8c6547f9853e0480949c155163cb (patch) | |
tree | 6c0c4e6e0e38ae819174e598dbe84debfece9960 /arch/um/kernel/initrd.c | |
parent | um: hostaudio: Do not propagate mixer parameter to kernel (diff) | |
download | wireguard-linux-b9ee5fc8f4aa8c6547f9853e0480949c155163cb.tar.xz wireguard-linux-b9ee5fc8f4aa8c6547f9853e0480949c155163cb.zip |
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>
Diffstat (limited to 'arch/um/kernel/initrd.c')
-rw-r--r-- | arch/um/kernel/initrd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/kernel/initrd.c b/arch/um/kernel/initrd.c index 47b8cb1a1156..99dba827461c 100644 --- a/arch/um/kernel/initrd.c +++ b/arch/um/kernel/initrd.c @@ -34,6 +34,7 @@ int __init read_initrd(void) static int __init uml_initrd_setup(char *line, int *add) { + *add = 0; initrd = line; return 0; } |