Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tiwei Bie and committed by
Johannes Berg
3f48113d 4e2e4ea0

+1
+1
arch/um/drivers/hostaudio_kern.c
··· 57 57 58 58 static int set_mixer(char *name, int *add) 59 59 { 60 + *add = 0; 60 61 mixer = name; 61 62 return 0; 62 63 }