Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4958342ybi; Tue, 30 Jul 2019 11:09:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyspPsRpax4NpWffqDCcESNFLB6cui1fvayAQ4m4MvI/tJJAsKmJqtZdVWzYmf9l8VgLRx4 X-Received: by 2002:a65:44cc:: with SMTP id g12mr32154136pgs.409.1564510150600; Tue, 30 Jul 2019 11:09:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564510150; cv=none; d=google.com; s=arc-20160816; b=zt7Ws0SYb/jFoXdWU/EoamOWW+2yo86HMciWCbq3tJYQcW9pBusZoL0q7NS/KlPvSX rRuzYQ46a9eqxFDsq2x0acczuHI99wTVEDA1s0BC8ZOQ5rDOlWE8r5tIGG5hBCABAPe2 cZ/d4ChBJRhSu6ppl8kgCgNvueGraxStf7KLGhGKETpfeO+hxwqw4AE1cwe9QHzih7cr mSXB7Bn33RY20wQXk9W/RQsmspGZFXJ/aAIoJOjyI+yD/ZP/ZAbxnd4kc6V+QSughcS/ tjOBlLLA+7R8QBokUdfvNa160XzRoIgvlOnvK7ghn08ybp4K0LOxC4ymp7LTAjbqQiOw Ykrw== 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:dkim-signature; bh=qks3K4GGrulb2C0Ck+/3WZ7Ox9e+XzeggPI4nq1FENI=; b=s35D4D9UeIfkLMmADDQ/ujvZ2BeqpZ7Byteno2ygfLRBWpJdiMl1DhnUhTFDyGbko7 3DUCw3fRoHaQQ6ZjPQn6W+DY0fNfOh+Q1TQ9uiWBMc/xHP2QxunAhjSSoZK1UCnH+k+M V+2JJdSLtFbbEaohmmi80KerA6PE8gJY1qwzkhjH5p7xY0g6GL2UddV8aFQ4vzxjFG4O KAga65KgDRz2qY85q3M0y9y4xqHzcHzCXcxzLSOFI1ajxhAgwLOWUsm6MeLup6/jIrOU IaYl+bR9EjnpF85ColHy9URtR41waEYFmBOmuwHP3U8kNBA86GVLl7z1LmU3iM3yStyV NM/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@poorly.run header.s=google header.b=KTozmroQ; 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 k15si36360760pgj.216.2019.07.30.11.08.54; Tue, 30 Jul 2019 11:09:10 -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=pass header.i=@poorly.run header.s=google header.b=KTozmroQ; 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 S1728192AbfG3RHk (ORCPT + 99 others); Tue, 30 Jul 2019 13:07:40 -0400 Received: from mail-yb1-f196.google.com ([209.85.219.196]:45343 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfG3RHk (ORCPT ); Tue, 30 Jul 2019 13:07:40 -0400 Received: by mail-yb1-f196.google.com with SMTP id s41so1270118ybe.12 for ; Tue, 30 Jul 2019 10:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=poorly.run; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qks3K4GGrulb2C0Ck+/3WZ7Ox9e+XzeggPI4nq1FENI=; b=KTozmroQs2NoFwB/7cl52MZhpQHOqD8frHClUzchrD+1HxPb9jxsHarpK3lbMg14oL LvrYfMv1OxYxEk6jTm/oYLAA1RdIdt90n8LIv84ycM//5KWB2QKFMMRnNP2+q294Y/Ip cuQdCy/DmyXBXHobGkSOPgzMDflCjWKmxCI2Gna6sU4P6WSEDL8WKeRFuFWX5o7CyMIF wZyKmBnSXQ1KHVTuWNQi9UsCTyRX35TUPnXApNzYCjn7YYiHM9VhcNZSbK+PsB7WjA7t EN1DNM4JQq0J0XMWbU6stHC55kbJswvAXgKDVC3C0YC0OmgqC4JCqrQVFSC9oXShtX0M E4oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qks3K4GGrulb2C0Ck+/3WZ7Ox9e+XzeggPI4nq1FENI=; b=RiNALAaj7EdN37MOkeij9AuzlBt+/YK94djimAMBca45yBVyH4VCYcz/RKef5pK47q Ya8HgFiQuPqcqcRgwto0W4C3qljrWDBC8AwAA4j1yWy9P5oYeu9Jcv4GJll0kuTFWnUh 6AGhXTZtnjbzpIlu9EHBtsyPyIlqlzHwUdMdtlUk5ZD8fMHTz2v+JRuDRZlHpKzzbfQz ISh9rTuaKNJ16Tr8rMp58TL5doyDpFFREo1WdFshhqJSr3u78b4s74x8r+aTMdRReFaa ciz4tdyiy/KQgNv7qTIx7mL89Y1CuUUxUUB/OIG1i5xpdQz/3ikUy/GIcYuNqE19CqZW d99g== X-Gm-Message-State: APjAAAXTJk2ioZsrXMHqs64QGYOVpaPPvk20XnFfPnkZq4/mF2Gwy9+w mUyxaxeSPjQD4oqCi1pnYxgpFA== X-Received: by 2002:a25:f202:: with SMTP id i2mr73141060ybe.462.1564506459592; Tue, 30 Jul 2019 10:07:39 -0700 (PDT) Received: from localhost ([2620:0:1013:11:89c6:2139:5435:371d]) by smtp.gmail.com with ESMTPSA id v135sm15374362ywc.53.2019.07.30.10.07.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 10:07:39 -0700 (PDT) Date: Tue, 30 Jul 2019 13:07:38 -0400 From: Sean Paul To: YueHaibing Cc: a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, airlied@linux.ie, daniel@ffwll.ch, seanpaul@chromium.org, heiko@sntech.de, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH -next] drm/rockchip: Make analogix_dp_atomic_check static Message-ID: <20190730170738.GR104440@art_vandelay> References: <20190730150057.57388-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190730150057.57388-1-yuehaibing@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 11:00:57PM +0800, YueHaibing wrote: > Fix sparse warning: > > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1151:5: warning: > symbol 'analogix_dp_atomic_check' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Thanks for your patch, applied to drm-misc-next Sean > --- > drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > index c82c7d5..f2f7f69 100644 > --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c > @@ -1148,8 +1148,8 @@ analogix_dp_best_encoder(struct drm_connector *connector) > } > > > -int analogix_dp_atomic_check(struct drm_connector *connector, > - struct drm_atomic_state *state) > +static int analogix_dp_atomic_check(struct drm_connector *connector, > + struct drm_atomic_state *state) > { > struct analogix_dp_device *dp = to_dp(connector); > struct drm_connector_state *conn_state; > -- > 2.7.4 > > -- Sean Paul, Software Engineer, Google / Chromium OS