Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4011028ybg; Tue, 29 Oct 2019 00:24:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqycX3iwMZyCjey19GsZIGXRRsVvhFWUlDGpD4StpjbvtkIZSnp95KA4JtR/4ZJwxYwoMPTm X-Received: by 2002:a05:6402:75a:: with SMTP id p26mr12628524edy.221.1572333853542; Tue, 29 Oct 2019 00:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572333853; cv=none; d=google.com; s=arc-20160816; b=ymUEnnEi25dzYSeqjGwN0QEoCekFDC1pV1wJAgVHk/VuFd2vn7DAyqTlzlF9AnxXnY CE12TG/iGqEbvkO2Miq5RdYt+UzjvzayC+t9jeSymOy/2x6bdaM8z2Rnd6V8R8S03dYe khXENM00YuDEEHuRKnM4PjOBSgp1TMm85oNW4UsveWJAs0G+q7gfCzwAXgkdtlEgkruw ahElvnnUBVgmlidNrYsNkYBqNB8q7fBie51BqVfY76D00DwRVWs1F8XBkCUr2VeQYsJx X+12YCRBB6kpGxHr1xbrd9GtvZBVRhbliyq/bGDmMJ/Q9f+fEPZutFjAbQpNunahMk6+ +7bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=PYRU0PYQ2oMzLpwCKTwr39/Q+u84sRyVDyYjGFbu3Tk=; b=KbjkkBwaHRqJWH+pPFVC3sn6ZNB/LbkC0p/b+WDuY07eHcqFHRWnbrVvAmwHWhAkXI 2b6rUPtddz+P+YoOFoxwT6Djn5dCbxhcB1nncbmpZCxISyeLnnCnp8QvYI/7USfPckof BEMnVgURZ4e8Sq7Tbb7OTxBr3WN+3x196gDQY2gUierJCZGUfWFvfRFKLZjrDK/i//uD jYS9Inh9gmo/wiKiLNjpSf4Flj1OmNOliZwJfs0z9MWF9ugGfOeo2yradWgxFSi8fgwI w2Akev7fHmZExkRJnVEJ2LPI5gpSBWy0tNVxqVKo2PbKKRLCN/HXyUC53O7T7OX6zli/ FkIg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v24si8868589edm.399.2019.10.29.00.23.50; Tue, 29 Oct 2019 00:24:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731179AbfJ2DIo (ORCPT + 99 others); Mon, 28 Oct 2019 23:08:44 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5214 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730831AbfJ2DIo (ORCPT ); Mon, 28 Oct 2019 23:08:44 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id DBB8282521340221D7FA; Tue, 29 Oct 2019 11:08:40 +0800 (CST) Received: from [127.0.0.1] (10.133.219.218) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Tue, 29 Oct 2019 11:08:32 +0800 Message-ID: <5DB7AD30.60007@huawei.com> Date: Tue, 29 Oct 2019 11:08:32 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: zhong jiang CC: , , , , , , Subject: Re: [PATCH] ASoC: rt5677: Make rt5677_spi_pcm_page static References: <1571919319-4205-1-git-send-email-zhongjiang@huawei.com> In-Reply-To: <1571919319-4205-1-git-send-email-zhongjiang@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.133.219.218] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ping. On 2019/10/24 20:15, zhong jiang wrote: > The GCC complains the following warning. > > sound/soc/codecs/rt5677-spi.c:365:13: warning: symbol 'rt5677_spi_pcm_page' was not declared. Should it be static? > > Signed-off-by: zhong jiang > --- > sound/soc/codecs/rt5677-spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c > index 36c02d2..b412371 100644 > --- a/sound/soc/codecs/rt5677-spi.c > +++ b/sound/soc/codecs/rt5677-spi.c > @@ -362,7 +362,7 @@ static void rt5677_spi_copy_work(struct work_struct *work) > mutex_unlock(&rt5677_dsp->dma_lock); > } > > -struct page *rt5677_spi_pcm_page( > +static struct page *rt5677_spi_pcm_page( > struct snd_soc_component *component, > struct snd_pcm_substream *substream, > unsigned long offset)