Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3702681pxb; Mon, 24 Jan 2022 15:48:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcr2UosN+uBN3JhixQBbpgqgcULxV2e5S0l8v0kP6MOSC06mWQnimm/IftWIF0j6Fb8Zcy X-Received: by 2002:a17:90a:8813:: with SMTP id s19mr605135pjn.193.1643068137645; Mon, 24 Jan 2022 15:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643068137; cv=none; d=google.com; s=arc-20160816; b=PRfPWWPNRfLVwpeXB6axz9bpnOCBTnHbFqEfKY9+W4pBdp0XdTKiOxz1HY9mO2sQ7p W1VQVw+Q4Q/bMYl2rRZLjM2jc54/J00/JbI0LRs9z3Zx+xmeWv1HPVyt8wMqErWck1np DaP8+QlUtMy4zudmdB7qKQ54Ot7ZAUcgqYD/nRsD1gnmr2typ5vPvQz+H0e5RLzCL33C uBWSdUBAxP2pe/NBvEllw28DUcDzuln0gFXZ+GV74qKQMehfZPMarGB7Rv6VGng5i1zM 7HcDviNuJiqJy80hE0WreMLg6zmLdaO6MfulKB295OH9D9fnpSfnrvBPJGMWXm730FEf 2zbQ== 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=rgNz2aYruor/DVGt1fTmc0L5Dhenfdro+FRFgeJVtzg=; b=TgvG+v1rNobzQo2F54dkxk96Iitw7hchAxLt5y6LM27L10qA8TNFKweCRgKn/no1rw Il5QMmBDsHo7dx0UNGyM+lwb6ss3XAVBhjmXkA/vx4OuQwJyidzDNAU7utFeaVSMLBnE 59froJtouFyCtCTX8FAnCaMxNJydbm94UyIm0W/s9FsOhgLLs30sGnsI9nl+j9+pkq4y lNcE33nyYz8rX/ZoSMXpGlMu7EuP9VU/rgn8TALKeJKSwmWPbvZJ2sJIxx2bgy8LQxGm FojJfReRmCeLoPzIdPqFFNCXoJeFfo+dBAJvnWv97PmwPP4povs17P8moBYfM3Ps8wlW Xk4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VvY9MmE4; 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 c21si4292930pgh.514.2022.01.24.15.48.45; Mon, 24 Jan 2022 15:48:57 -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=VvY9MmE4; 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 S2362919AbiAXXnL (ORCPT + 99 others); Mon, 24 Jan 2022 18:43:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383495AbiAXXEV (ORCPT ); Mon, 24 Jan 2022 18:04:21 -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 B9195C02B777; Mon, 24 Jan 2022 13:16:26 -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 5804B6141C; Mon, 24 Jan 2022 21:16:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39BA9C340E4; Mon, 24 Jan 2022 21:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643058985; bh=1h+/Z/DAiDZoSEbnMDcCn4AXxNjDsVzS3lRJAXu21lc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VvY9MmE4pxrvSfnEaJ/12RdDrp7GjIl7q5CCR9zqTRto5lxFDNBjeWmmXUh43WIsS FLFdj3OiLYEZ9hsQBsZGu6aB8ePhOaOC3hfFcji/ihSu/2BoC+aVeZVje+JkRxKHgY PeVyV3tFrqJRoF5dRw2uXmJTovOPiH0n0Wo0KzVg= 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 5.16 0466/1039] ALSA: oss: fix compile error when OSS_DEBUG is enabled Date: Mon, 24 Jan 2022 19:37:35 +0100 Message-Id: <20220124184140.946282833@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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 20a0a4771b9a8..3ee9edf858156 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -2065,7 +2065,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