Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp652670ybk; Sat, 9 May 2020 14:09:24 -0700 (PDT) X-Google-Smtp-Source: APiQypLQNRZUvAn9/nqeLeizLe8dm0cFqWxpbf1SJzF7jVRe23hEU96RGqL+rNEbJva6h23I9mH/ X-Received: by 2002:aa7:cd6a:: with SMTP id ca10mr7431556edb.332.1589058564493; Sat, 09 May 2020 14:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589058564; cv=none; d=google.com; s=arc-20160816; b=BfXKB2TXe7fq6QbOyQnfkvrpcntefAetM4zmuJ1k2mxbO1rO7ELLgeiEeD49NPw3DU tjLjPgmuMFcPrOb9J+9v4Zf4AWvfIsSedoWJU9QfpeZvulZrvhGOF7dbNiPOZWBs6I4D m23c44U2EFMfmWcWnGvNbqyiF6jLvo3c3AE5neruR9vckZzAsxBdxoLFpP3YhzvDF2Nb LgDZjyvGUHyGfuElOJwJJjNHDsBieyViS4Hky9RpYGj07YZdmyByeyv4bgdRo4s/4c38 wF27S6qEVqTMIq0r4hpwap6/XVu0lusTgQvbz2sa7HPihMBzxYgCpcQsRPEUauROKZGj FpfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uMQbCKAUAzVLaRBC2OB6SJ0BhMxSAU9FPfD2AGFj7as=; b=V4c8YcW6oQmgXmfNUG+w/d9YyzyMEbQR5ijmrnPxNUFv65L6PfU4UvZ05RHO84mtxg jgNp/Hg7Gqs/FzfENcV7CGnkffcaE2J/v8nTKceathrkwcm+XqoKXSjFwUkDcg40An2M KOGOUGEWuVl1JLf20Wkj9Wvf8/tXVJyY4XwqUNDg0o06xOcxDDT4TXLr9ttjeXLrvHIF sfDQ9qJAPheWxOdv0sU/qQiE2TTIc7LS2fZZacMsNsW8nwmaDzaxdV0dlreact+H9jCQ qSqVWj45MNbZe0gK8Zmfw2tn3M5zacnASA3Us4C8zZdykf95WyGg6AM7MJihAlripPXr ZJXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si1006261ejb.348.2020.05.09.14.08.59; Sat, 09 May 2020 14:09:24 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728314AbgEIVHL (ORCPT + 99 others); Sat, 9 May 2020 17:07:11 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:45222 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728187AbgEIVHK (ORCPT ); Sat, 9 May 2020 17:07:10 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 61EBE2003E; Sat, 9 May 2020 23:07:07 +0200 (CEST) Date: Sat, 9 May 2020 23:07:00 +0200 From: Sam Ravnborg To: Samuel Zou , Russell King Cc: linux@armlinux.org.uk, airlied@linux.ie, daniel@ffwll.ch, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH -next] drm/i2c/tda998x: Make tda998x_audio_digital_mute static Message-ID: <20200509210700.GA12666@ravnborg.org> References: <1588819768-11818-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1588819768-11818-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=ULXz4hXy c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=kj9zAlcOel0A:10 a=i0EeH86SAAAA:8 a=e5mUnYsNAAAA:8 a=Vsz2rQJ-eejM4GXTEzYA:9 a=CjuIK1q_8ugA:10 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 07, 2020 at 10:49:28AM +0800, Samuel Zou wrote: > Fix the following sparse warning: > > drivers/gpu/drm/i2c/tda998x_drv.c:1136:5: warning: > symbol 'tda998x_audio_digital_mute' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Thanks. Pushed to drm-misc-next, so it will appear in next merge window. Sam > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c > index 3c90d7a..9517f52 100644 > --- a/drivers/gpu/drm/i2c/tda998x_drv.c > +++ b/drivers/gpu/drm/i2c/tda998x_drv.c > @@ -1133,7 +1133,8 @@ static void tda998x_audio_shutdown(struct device *dev, void *data) > mutex_unlock(&priv->audio_mutex); > } > > -int tda998x_audio_digital_mute(struct device *dev, void *data, bool enable) > +static int tda998x_audio_digital_mute(struct device *dev, void *data, > + bool enable) > { > struct tda998x_priv *priv = dev_get_drvdata(dev); > > -- > 2.6.2 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel