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

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>

authored by

Tiwei Bie and committed by
Johannes Berg
4e2e4ea0 d26627b2

+1
+1
arch/um/drivers/hostaudio_kern.c
··· 48 48 #ifndef MODULE 49 49 static int set_dsp(char *name, int *add) 50 50 { 51 + *add = 0; 51 52 dsp = name; 52 53 return 0; 53 54 }