Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp6006861ybl; Tue, 27 Aug 2019 13:00:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRBFt/A4aZhwVcGtIFuRZUDH9BhHR3+LNDVjjbs2CsiBhvPvJocfTKv0h9fCms6SW3knu1 X-Received: by 2002:a17:902:6a84:: with SMTP id n4mr610349plk.109.1566936014473; Tue, 27 Aug 2019 13:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566936014; cv=none; d=google.com; s=arc-20160816; b=hJBdEKpshNPtERZebFR1IW8nDcK8d1MW4zc5gsfPJagOhd5hdeDAKilRYRKPBUpJBn EmDqQwz7om8erfaz3g1hyiVwdQwHGZ8Pz8Rbq6vhZcrH+uJcy2woD1EM3eqQ1NMMA9IW cTred9FeE1vuZJjP03L4QVPp5XPqe+kyfLFyryDPB+jdMcEefPOOAljgSjPJVoE22XvH tEAeSWRgGkYyTwT1ZK+uEDIzV0dNBdLh3TU6W4xMOfdXfUkTIw9XzFqqL5Z6Ct/gcyxh CcDfrf1z8Zw9vP6nKR6PzH+1JRGnMkjGW1dA2OdMZAjGijXomdAssEJ9WqrWSFzukb5r dsjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=SMpBfeT+YDhqJweugt2P+5XqpdoS58HJr3ntKvBbvys=; b=dLzrlGlBvDmtWJeIpwBm8hGDdQKT4aLAaupxnMrvAbOhSsZDNYjtr6KVNvZmaFRxwZ r/d9nixIz2QqWHYXmYI27/Ebm8tcc6Ni+xHsKJDs6OjDYfy9H2lqufv+XovL6B8Vy1Uj pb5I8vcHQ/DxZj0lhTrnjW1yHecH1GLVWvP3y2IGHRRopuGVd6kEAtMzjIuAOQqiin/J iQ4OF5XSlZTP9Vre/UBpuvGRzdfI6DOweYfg0rsQhtkByKT9sKLZ9TvEeE6+MwW9Evr1 Y49dXhiPUNM/22v35Gr6IxgCSavOX2nmUVs/T8xxxG32ce1/pPXtR9HQxI9MVu8Q4uXo rZSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=rdUvuQAD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si83032pfl.244.2019.08.27.12.59.57; Tue, 27 Aug 2019 13:00:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=rdUvuQAD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731372AbfH0T6a (ORCPT + 99 others); Tue, 27 Aug 2019 15:58:30 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:48588 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729626AbfH0T63 (ORCPT ); Tue, 27 Aug 2019 15:58:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=SMpBfeT+YDhqJweugt2P+5XqpdoS58HJr3ntKvBbvys=; b=rdUvuQADUu8y YOUw8UIHoHFn8G2ft08JGELR9nsT16JBO8VGYyLpIUStf/q0X/H21ClcULYngx2hGb+8jVoGC+RFn YzC1KXA+TSxiH/nsO03vywzrxuMpm8PSdtBN5MqgdlK4GASE0/MZMDch0UJzjd55bY/Mjz0rvcqWd cWm0E=; Received: from 188.28.18.107.threembb.co.uk ([188.28.18.107] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i2hbc-0001Cs-1g; Tue, 27 Aug 2019 19:58:16 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id A25CFD02CE9; Tue, 27 Aug 2019 20:58:14 +0100 (BST) From: Mark Brown To: YueHaibing Cc: alsa-devel@alsa-project.org, broonie@kernel.org, daniel.baluta@nxp.com, festevam@gmail.com, Hulk Robot , kernel@pengutronix.de, lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, Mark Brown , perex@perex.cz, pierre-louis.bossart@linux.intel.com, s.hauer@pengutronix.de, shawnguo@kernel.org, tiwai@suse.com, yuehaibing@huawei.com Subject: Applied "ASoC: SOF: imx8: Make some functions static" to the asoc tree In-Reply-To: <20190823125939.30012-1-yuehaibing@huawei.com> X-Patchwork-Hint: ignore Message-Id: <20190827195814.A25CFD02CE9@fitzroy.sirena.org.uk> Date: Tue, 27 Aug 2019 20:58:14 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: SOF: imx8: Make some functions static has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From b9a4805a4ac1200326ee0c78df0ae3faceabad49 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Fri, 23 Aug 2019 20:59:39 +0800 Subject: [PATCH] ASoC: SOF: imx8: Make some functions static Fix sparse warnings: sound/soc/sof/imx/imx8.c:104:6: warning: symbol 'imx8_dsp_handle_reply' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:115:6: warning: symbol 'imx8_dsp_handle_request' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:336:5: warning: symbol 'imx8_get_bar_index' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:341:6: warning: symbol 'imx8_ipc_msg_data' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:348:5: warning: symbol 'imx8_ipc_pcm_params' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing Reviewed-by: Daniel Baluta Link: https://lore.kernel.org/r/20190823125939.30012-1-yuehaibing@huawei.com Signed-off-by: Mark Brown --- sound/soc/sof/imx/imx8.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c index e502f584207f..640472491037 100644 --- a/sound/soc/sof/imx/imx8.c +++ b/sound/soc/sof/imx/imx8.c @@ -101,7 +101,7 @@ static int imx8_get_window_offset(struct snd_sof_dev *sdev, u32 id) return MBOX_OFFSET; } -void imx8_dsp_handle_reply(struct imx_dsp_ipc *ipc) +static void imx8_dsp_handle_reply(struct imx_dsp_ipc *ipc) { struct imx8_priv *priv = imx_dsp_get_data(ipc); unsigned long flags; @@ -112,7 +112,7 @@ void imx8_dsp_handle_reply(struct imx_dsp_ipc *ipc) spin_unlock_irqrestore(&priv->sdev->ipc_lock, flags); } -void imx8_dsp_handle_request(struct imx_dsp_ipc *ipc) +static void imx8_dsp_handle_request(struct imx_dsp_ipc *ipc) { struct imx8_priv *priv = imx_dsp_get_data(ipc); @@ -333,21 +333,21 @@ static int imx8_remove(struct snd_sof_dev *sdev) } /* on i.MX8 there is 1 to 1 match between type and BAR idx */ -int imx8_get_bar_index(struct snd_sof_dev *sdev, u32 type) +static int imx8_get_bar_index(struct snd_sof_dev *sdev, u32 type) { return type; } -void imx8_ipc_msg_data(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, - void *p, size_t sz) +static void imx8_ipc_msg_data(struct snd_sof_dev *sdev, + struct snd_pcm_substream *substream, + void *p, size_t sz) { sof_mailbox_read(sdev, sdev->dsp_box.offset, p, sz); } -int imx8_ipc_pcm_params(struct snd_sof_dev *sdev, - struct snd_pcm_substream *substream, - const struct sof_ipc_pcm_params_reply *reply) +static int imx8_ipc_pcm_params(struct snd_sof_dev *sdev, + struct snd_pcm_substream *substream, + const struct sof_ipc_pcm_params_reply *reply) { return 0; } -- 2.20.1