Skip to content

Commit 3f48113

Browse files
btw616jmberg-intel
authored andcommitted
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 <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20241011040441.1586345-9-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 4e2e4ea commit 3f48113

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/um/drivers/hostaudio_kern.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ __uml_setup("dsp=", set_dsp, "dsp=<dsp device>\n" DSP_HELP);
5757

5858
static int set_mixer(char *name, int *add)
5959
{
60+
*add = 0;
6061
mixer = name;
6162
return 0;
6263
}

0 commit comments

Comments
 (0)