Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3973788pxb; Tue, 25 Jan 2022 00:22:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeX/ijr3qagzyDtd5ek8s0gRh/N+F1IApL20y3Vc84CjuIaEvQ9KoZmZyEO3MW4llyYmNE X-Received: by 2002:a17:907:7244:: with SMTP id ds4mr7454292ejc.208.1643098930237; Tue, 25 Jan 2022 00:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643098930; cv=none; d=google.com; s=arc-20160816; b=tYWSlwlC1A6Vfe1jpWS9krm5/IrjrUyk7vjlembJRpVFjae4HQAgwplEoqHY054cUL APtjPgzPSaaOBzd4pRrWYUD5GAY8ot7s9np+GZoZqMue0brUEj+6z6AZ35QoUWluZ5hv EafvOTxP3KVijlmXdqH0PGdgEExOYsmaj06IQYhjylFwGvv0MTy1HKFrTH3f54JF0mZ7 ttZJjfskUveukM95TZOguRKTpZQX8+A8bMBOoCcrqFeMCV61FhupezCtcdPwXuR5DMVz xfOHTEE7Ccd5RBUAQMI2KBPY5s0RXDET9Ke3G+PQ5CTx6MeIYvwXcVaypjvqcJESR0I/ X7oA== 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=jooMqjIckcNETDduseVdmxu+4FIfY3lf8d0OK1NY4fs=; b=fuoAlALlwQhuKkIbHNOi3G6HoTaQkPEpMniFlOHup0XzXLcdC3I6yRWEyVhKPrzUSq 96Sxf/IumbAFpk1fia2I55jWAAjUkuVc8/1E2imVF3AKAkWp3SxiTndjXntHyT6tSkPE szs7NiY7z+bdeKe26Hfi+/zfZUs1bojdAB7Yw0FOXPA2bGOUB8smSaeiukOnHHlsZh+R 45C8sBLhdvrKDFKzvDUEZQsd398Rx1InekK7inW5HIZd1CGF0H6vBMV0YSX8UMSK/uCJ g9VYatmoIgAasPfNRArf186TLNBJIQKtVGAWBosapYew8xJKjzRPMg2vZLX9hyKMykEa tmmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w64wgXtc; 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 e13si8207145ejl.349.2022.01.25.00.21.45; Tue, 25 Jan 2022 00:22:10 -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=w64wgXtc; 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 S3420717AbiAYCZL (ORCPT + 99 others); Mon, 24 Jan 2022 21:25:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349532AbiAXTUz (ORCPT ); Mon, 24 Jan 2022 14:20:55 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8DA3C061787; Mon, 24 Jan 2022 11:07:51 -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 ams.source.kernel.org (Postfix) with ESMTPS id 02BCEB811F9; Mon, 24 Jan 2022 19:07:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1793BC340E5; Mon, 24 Jan 2022 19:07:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051267; bh=1WH8nMsyTmBCT0CINOhWGaYMGMaXc0HjjN3TTcQlxqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=w64wgXtc6Ur//qozsHpjAV5SjFdGI9XoHGCCsXRHRTkXSj3rJIW4jsoZJit9qypVF Gxwf7o8QDOuF9wwSgxCOHk5e8KiBH4aQGXsYk/y43ozBy8vuded8aHp4JuuU0LaGQl /HTMk/75mL1f6KN3vEx2IB4KWcIQM4WZsrvctc4Y= 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.14 074/186] ALSA: oss: fix compile error when OSS_DEBUG is enabled Date: Mon, 24 Jan 2022 19:42:29 +0100 Message-Id: <20220124183939.504425996@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183937.101330125@linuxfoundation.org> References: <20220124183937.101330125@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 b092f257c1c69..87806dab321a3 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