From nobody Wed Nov 27 13:38:32 2024 Received: from out187-2.us.a.mail.aliyun.com (out187-2.us.a.mail.aliyun.com [47.90.187.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40BE51CB506 for ; Fri, 11 Oct 2024 04:20:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.187.2 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728620443; cv=none; b=ptS4RdQG6YQsQ4sWSB7JpHO6BembgyMV0XdZKnBfXeLfc/NTq2Yc8drq1Q2vvneFyb2ksc+aOATvHTjo2fWQiNDRDht+L5v/MWqXiqHKtAyRztpmUmwEtMhp5QGx0OFCcSoNTv8nKAjyULyRu43ps2ZVuUdAnVDmI8P68XZsnOg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728620443; c=relaxed/simple; bh=Jq4jzYqKznKhRX0mWI0FKN2O5bHda7cDEW5QY8QlSSI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CSiON2pkh8C+uDc0XRRyajwH6JTxID3H1GXGwp47PwCQ+ZFnC9K+We/UoAeIErkxhNYwVh6vSeEgTKtd/JKmMLOrDUO5miiwgu1cuC6OTZ01eRWKCH4noV1IaKFoPXqGZl1ZKMyYsx21B3QjH9NdMu7Qn/5MekRr/oOzPw9Baa0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b=W7Td8R8E; arc=none smtp.client-ip=47.90.187.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=antgroup.com header.i=@antgroup.com header.b="W7Td8R8E" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1728620429; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=UXivylKKVZoaavgHJDWP6Lp6p/IoGhjIDtQtnWzg12U=; b=W7Td8R8EOtSGSUXkhdkxVtYKLq6g1Ca3h/VBz+GdV3Az/5BzXFa07DD7Ve70J+Ofn9iEd+4m66COonaSaU1ULTHa71HantfSEP11wtTEl7JrqjMt2dq9fNwmSol2FgeIGakO7XarzgpzXSES1Xpc5gNIuUzP9UMwT51SH8gjt7g= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.Ze33tzj_1728619496) by smtp.aliyun-inc.com; Fri, 11 Oct 2024 12:04:56 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , , "Tiwei Bie" Subject: [PATCH 8/9] um: hostaudio: Do not propagate mixer parameter to kernel Date: Fri, 11 Oct 2024 12:04:40 +0800 Message-Id: <20241011040441.1586345-9-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241011040441.1586345-1-tiwei.btw@antgroup.com> References: <20241011040441.1586345-1-tiwei.btw@antgroup.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- arch/um/drivers/hostaudio_kern.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/um/drivers/hostaudio_kern.c b/arch/um/drivers/hostaudio_k= ern.c index 09af903b75ae..0ac149de1ac0 100644 --- a/arch/um/drivers/hostaudio_kern.c +++ b/arch/um/drivers/hostaudio_kern.c @@ -57,6 +57,7 @@ __uml_setup("dsp=3D", set_dsp, "dsp=3D\n" DSP= _HELP); =20 static int set_mixer(char *name, int *add) { + *add =3D 0; mixer =3D name; return 0; } --=20 2.34.1