Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3578829pxb; Mon, 24 Jan 2022 12:41:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVv7Q1e2U7YeVMtjnbNxHSt02zTyRVEarNWzD/oYVWeneYaihGROziOTWp7sJAjFMEI2fK X-Received: by 2002:a17:902:9a89:b0:14a:d1d9:9b56 with SMTP id w9-20020a1709029a8900b0014ad1d99b56mr15774744plp.79.1643056869191; Mon, 24 Jan 2022 12:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643056869; cv=none; d=google.com; s=arc-20160816; b=yqvmAn15yCtpCa4MvUCkn5h/4ypp/B17nVne9/TWKsmYaTAAisJ1A0nCApGX10OKaZ GP9P60UlboCbk1omw4KXMbKwkF69xxEz2mq7EP9ctvERs2ZlN5ucJt9CF8a/k9bcD0r5 xfQ0klz3cGGQ1MTchHQj7ziCpENKaQh00YoNLGkwcaGVgpv21n5I142yXjqGd247rs64 ZOpn3uH4IXA9IlCcPNavDaiLtiM52OipKV2+PboWcGG7xwr+wStmZ8i+iNH+pJNnl/Ro WoFHuj69UUnXttZ1jwH+Ko2OY9LuzrQVvW+x9bx2sjasgOvqkkKGY8KXAgWeL/W4WSX3 uqFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Va6ehUqXr/2A/IRhoEIVRcHH3AuWljrx+nT2IuUhKSg=; b=R4PTJzuD/ZjAf4yS56MR3PAVpVvl9eXHusVpoEdTA2/C1laCuaQ4FdyQ5fcxbOMnrU wubDfuDzpdyBcDZhjqhEfsPaDQRHFPpiIeQdMjBs30BQ6CTRM/G+Pn8l5X9SKtc/e3BR lqPqQ6+dSUqEtTOXn/XM78JHHMekeRNHKBA6+k2Ht07FhIrokchdoWaBZIamRkb9Mm34 SKE0ykjHZaaRRaQi4xeGupABhDJ53vJS96iw0nTDiLXg5noXF10jRBSwQxekPzSQXfo5 pwsbmgE6vHKfBw1s6Ruy8vzQsbKbm86O3kgG7PsDxunDYX34df00ckC2DOujoYlz6jZs hvxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xkUxufUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oa11si322448pjb.163.2022.01.24.12.40.55; Mon, 24 Jan 2022 12:41:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xkUxufUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359062AbiAXT4R (ORCPT + 99 others); Mon, 24 Jan 2022 14:56:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347390AbiAXThf (ORCPT ); Mon, 24 Jan 2022 14:37:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DE41C034016; Mon, 24 Jan 2022 11:17:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B20B56131D; Mon, 24 Jan 2022 19:17:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B3D0C340E8; Mon, 24 Jan 2022 19:17:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051848; bh=N0oQUiaIHtDW7XHvXmF08AzAXS3DvHsObImsogfjiTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xkUxufUt3NA0Mb0BULHthqZVSSn8AOIdV8fA/W9XT5ssUoJ6tADWI6NT6yBIVGO9A CXsn0nkA5BW4cPYNspP4YKC8ffvFtpxaLT4phgyvoq0TVTC4vOxkJffKij4PtKg8fO 6oA5Cul0dwoayXbyqjAD3nNsH5Q9OLCoFcXxA4Os= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bixuan Cui , Takashi Iwai , Sasha Levin Subject: [PATCH 4.19 105/239] ALSA: oss: fix compile error when OSS_DEBUG is enabled Date: Mon, 24 Jan 2022 19:42:23 +0100 Message-Id: <20220124183946.446789306@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183943.102762895@linuxfoundation.org> References: <20220124183943.102762895@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bixuan Cui [ Upstream commit 8e7daf318d97f25e18b2fc7eb5909e34cd903575 ] Fix compile error when OSS_DEBUG is enabled: sound/core/oss/pcm_oss.c: In function 'snd_pcm_oss_set_trigger': sound/core/oss/pcm_oss.c:2055:10: error: 'substream' undeclared (first use in this function); did you mean 'csubstream'? pcm_dbg(substream->pcm, "pcm_oss: trigger = 0x%x\n", trigger); ^ Fixes: 61efcee8608c ("ALSA: oss: Use standard printk helpers") Signed-off-by: Bixuan Cui Link: https://lore.kernel.org/r/1638349134-110369-1-git-send-email-cuibixuan@linux.alibaba.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/core/oss/pcm_oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index 2b3bd6f31e4c1..cd68a0ae82d31 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -2070,7 +2070,7 @@ static int snd_pcm_oss_set_trigger(struct snd_pcm_oss_file *pcm_oss_file, int tr int err, cmd; #ifdef OSS_DEBUG - pcm_dbg(substream->pcm, "pcm_oss: trigger = 0x%x\n", trigger); + pr_debug("pcm_oss: trigger = 0x%x\n", trigger); #endif psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; -- 2.34.1