From patchwork Wed Jul 25 16:40:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 142881 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1029712ljj; Wed, 25 Jul 2018 09:40:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeqnG3mHuEG6wO2mUg96jeVVAaqjTWF9gMwFwmc3EF8nTHuz72wAguXiXI02s/cS1gbAh7h X-Received: by 2002:a5d:6841:: with SMTP id o1-v6mr15039720wrw.159.1532536835439; Wed, 25 Jul 2018 09:40:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532536835; cv=none; d=google.com; s=arc-20160816; b=JT4cg2v4mczoyvNbyF0tCYVyK0F/zN/+Gha352kpHU7T8NzKF7IuHYqVsW41hv9GCR uL5bUQhnlGG2OIXBhpjlh70HSHH7p+WAfcL98nJfRX69TQBlhRSu7AcJ23L3g/OA4kJ0 A3l2ZjQ0huDSvUcqySnWUw74wZ6abmQQTqjO0sdqQmRQRFp3IjO+uHJ90Ar29StR/5is QDTiweCNp9QNn6tvvEPKvdSv1YxRXaZ/L4o9TyY3TJdfvvgld8RVCyqaGK76N8uVAyna lnPvO4FMtXhnoptugjXwqYAtyK2NqYXoCyWe85+UW3kFSO+Et22EMNFjp9G9mQccNOWp A6Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=xc72JcV4WAyvbC9RJJuBNR+I3m1QwRObc3T6TKjqUZM=; b=kqGELgX7shjaCcoHI2cFF5BOwMJuyDpNiGda8vJ9AXUgfB9IscXCRe60x9U4ydJWTd IezMgiWs8PZRyioecSrVWDpzPK64GTfs/JTf3Wh22RNUoINiJKY/PBXAB5Dq4YPSqh0Y j0QYJhFdsQY25rCNawp5aQ+tTB9QrN91lK8/3TJvjWglqdxLSd0gLCutoYk2Fy+puySM qvF3sbzHu3nPWw2x4Ev7wafvk1qR1WsmPXyWGy2ZCNozI0z/iZ15iylIs0u+Vb0jhCVV 6ufO1X9bcTV/0efHHFjSEfu0jmPpZvsoaDPMO7cI5yyoT9wwrnQC+X2mq+yDpnvBUtZu Fd1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ODMFkRzV; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 136-v6si3377374wmm.100.2018.07.25.09.40.35; Wed, 25 Jul 2018 09:40:35 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ODMFkRzV; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 8DA02267795; Wed, 25 Jul 2018 18:40:26 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id AD96A26779A; Wed, 25 Jul 2018 18:40:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 5F14026779B for ; Wed, 25 Jul 2018 18:40:22 +0200 (CEST) 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=pjJGWpGp9HLkHB/cy7DporYbeDWyZCjv91r0wvGKY0U=; b=ODMFkRzVuPJw lHqXC54sjKPxyf+/zoRgFNdPB8ShY06K1X8F7wzBcM1W+D4C6r70bFuaQgE62koRN662SqF0hvVmI eM7H63ZQFNQXmTAHDLM3g3rQGaXffCTlgvcYkBA4adN2vg9o/k2qLFl6t9+ftS0DMDR/dcaUaPPtb YJHNw=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fiMpq-0006lV-7X; Wed, 25 Jul 2018 16:40:22 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 00F191123B08; Wed, 25 Jul 2018 17:40:21 +0100 (BST) From: Mark Brown To: Pierre-Louis Bossart In-Reply-To: <20180724211248.29427-5-pierre-louis.bossart@linux.intel.com> Message-Id: <20180725164022.00F191123B08@debutante.sirena.org.uk> Date: Wed, 25 Jul 2018 17:40:21 +0100 (BST) Cc: tiwai@suse.de, liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, broonie@kernel.org, vkoul@kernel.org Subject: [alsa-devel] Applied "ASoC: Intel: common: make sst_dma functions static" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: Intel: common: make sst_dma functions static has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 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 ef3cb7423358ff0cadacb76f26e3e1f4da8be4ce Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Tue, 24 Jul 2018 16:12:46 -0500 Subject: [PATCH] ASoC: Intel: common: make sst_dma functions static sst_dma_new and sst_dma_free are not used in any other file and don't have a prototype. Move to static functions and remove EXPORT_SYMBOL_GPL statement. Reported by sparse warnings. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- sound/soc/intel/common/sst-firmware.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index 657afc02f1c4..11041aedea31 100644 --- a/sound/soc/intel/common/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c @@ -270,7 +270,7 @@ void sst_dsp_dma_put_channel(struct sst_dsp *dsp) } EXPORT_SYMBOL_GPL(sst_dsp_dma_put_channel); -int sst_dma_new(struct sst_dsp *sst) +static int sst_dma_new(struct sst_dsp *sst) { struct sst_pdata *sst_pdata = sst->pdata; struct sst_dma *dma; @@ -320,9 +320,8 @@ int sst_dma_new(struct sst_dsp *sst) devm_kfree(sst->dev, dma); return ret; } -EXPORT_SYMBOL(sst_dma_new); -void sst_dma_free(struct sst_dma *dma) +static void sst_dma_free(struct sst_dma *dma) { if (dma == NULL) @@ -335,7 +334,6 @@ void sst_dma_free(struct sst_dma *dma) dw_remove(dma->chip); } -EXPORT_SYMBOL(sst_dma_free); /* create new generic firmware object */ struct sst_fw *sst_fw_new(struct sst_dsp *dsp,