From: Tiwei Bie Date: Fri, 11 Oct 2024 04:04:40 +0000 (+0800) Subject: um: hostaudio: Do not propagate mixer parameter to kernel X-Git-Tag: v6.13-rc1~18^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f48113df3495540fb492760dfb092deaccc9f7d;p=thirdparty%2Fkernel%2Flinux.git um: hostaudio: Do not propagate mixer parameter to kernel This parameter is UML specific and is unknown to kernel. It should not be propagated to kernel, otherwise it will trigger a warning and be passed to user space as an environment option. Signed-off-by: Tiwei Bie Link: https://patch.msgid.link/20241011040441.1586345-9-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg --- diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_kern.c index 09af903b75aed..0ac149de1ac01 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c @@ -57,6 +57,7 @@ __uml_setup("dsp=", set_dsp, "dsp=\n" DSP_HELP); static int set_mixer(char *name, int *add) { + *add = 0; mixer = name; return 0; }