Skip to content

Commit 4e2e4ea

Browse files
btw616jmberg-intel
authored andcommitted
um: hostaudio: Do not propagate dsp 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-8-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent d26627b commit 4e2e4ea

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
@@ -48,6 +48,7 @@ MODULE_PARM_DESC(mixer, MIXER_HELP);
4848
#ifndef MODULE
4949
static int set_dsp(char *name, int *add)
5050
{
51+
*add = 0;
5152
dsp = name;
5253
return 0;
5354
}

0 commit comments

Comments
 (0)