Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1392847ybj; Thu, 7 May 2020 23:46:16 -0700 (PDT) X-Google-Smtp-Source: APiQypKzu4MI+KvGFS+B6rzA0r5NMGV5kC+GXmBt3yPqBafxAx2k2cY6ONynqceoDeBF29KGrIvw X-Received: by 2002:a17:906:695:: with SMTP id u21mr596280ejb.187.1588920376732; Thu, 07 May 2020 23:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588920376; cv=none; d=google.com; s=arc-20160816; b=zYzuRfHaRqxPFF0P4vyYG8LZo2GcSI5hsrjtfm02xyP2OGZ6FWKLpJylkzC3xjUeaJ 889Ql4KThuK8x9/k6tKyRHqcPFYaPFVdxdaMIb7G4LbpH9YWNlNIbUdnbfKuYRJdTAGx CxU+E4bgbp3Or3HlOPOefZPfh8cppmQA2qnJlHsZE1YFhsIFZ1nk5RuLb6NrDU7g3jhK S3OzOJI+av1dQlS+l7LTHwPaYNQU0hwmGfmrWxGCMY6d6A+6QvPiqTnul5S7KKY30Hob 9hoU7ixzss/H1hXERs/9eheo3eRQemCa7/0h1INloXz7mA+i8L84uz7bjESDFi3wP3tY hOpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject; bh=c3gOkHoEWjwSfphmxnFu/yinaWZ0adR9Va1opct1lVU=; b=KqpsDGrG1PhKBWDTyfJLYP5Q9zSGNpVLpvzPApdbzYf7NeWr8DGwg/xgmRIEKOUldr bogN/GPccC6fIA+uh5F6lGlQeopjU9R1tHaqLGk0OhmKmqO037jz0jl9toNvLcVyw1JC xIA/aOyZao+6OFRh1JHk1MZC59WkY5QjH02XGXAoQs/wj/RFw+QV+FbTTAddjkFY/XFY Qo3rOP7lHc8dNOu72liv1F/NNsiI4Th/1Q45lTkzmcdVHH3fSEmU8oYc1ljE547/QKHf eSx77RTvVoCpsx/R9ZqES1sUZsCEfkonsTGyWre963cu7VFMA9UaKrAclHKcGkQbt7zb Flpg== 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 i12si440813edl.294.2020.05.07.23.45.53; Thu, 07 May 2020 23:46:16 -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 S1726750AbgEHGob (ORCPT + 99 others); Fri, 8 May 2020 02:44:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:42646 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbgEHGob (ORCPT ); Fri, 8 May 2020 02:44:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3108EAD80; Fri, 8 May 2020 06:44:32 +0000 (UTC) Subject: Re: [PATCH -next] drm/ast: Make ast_primary_plane_helper_atomic_update static To: Samuel Zou , airlied@redhat.com, airlied@linux.ie, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <1588819206-11406-1-git-send-email-zou_wei@huawei.com> From: Thomas Zimmermann Autocrypt: addr=tzimmermann@suse.de; keydata= mQENBFs50uABCADEHPidWt974CaxBVbrIBwqcq/WURinJ3+2WlIrKWspiP83vfZKaXhFYsdg XH47fDVbPPj+d6tQrw5lPQCyqjwrCPYnq3WlIBnGPJ4/jreTL6V+qfKRD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ouHeJ/+n+7r 12+lqdsAEQEAAYkBPAQYAQgAJhYhBHIX+6yM6c9jRKFo5WgNwR1TC3ojBQJbOdLgAhsMBQkD wmcAAAoJEGgNwR1TC3ojpfcIAInwP5OlcEKokTnHCiDTz4Ony4GnHRP2fXATQZCKxmu4AJY2 h9ifw9Nf2TjCZ6AMvC3thAN0rFDj55N9l4s1CpaDo4J+0fkrHuyNacnT206CeJV1E7NYntxU n+LSiRrOdywn6erjxRi9EYTVLCHcDhBEjKmFZfg4AM4GZMWX1lg0+eHbd5oL1as28WvvI/uI aMyV8RbyXot1r/8QLlWldU3NrTF5p7TMU2y3ZH2mf5suSKHAMtbE4jKJ8ZHFOo3GhLgjVrBW HE9JXO08xKkgD+w6v83+nomsEuf6C6LYrqY/tsZvyEX6zN8CtirPdPWu/VXNRYAl/lat7lSI 3H26qrE= Message-ID: <6fab133b-9f94-fff5-8c87-1d7c6d3e9043@suse.de> Date: Fri, 8 May 2020 08:44:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <1588819206-11406-1-git-send-email-zou_wei@huawei.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GP1fBK66YqPm2jQR5el3FNevgUmX2CWs1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GP1fBK66YqPm2jQR5el3FNevgUmX2CWs1 Content-Type: multipart/mixed; boundary="9fVXXgiiOXDi9nrlmZbmnDfEj3AyQFBJv"; protected-headers="v1" From: Thomas Zimmermann To: Samuel Zou , airlied@redhat.com, airlied@linux.ie, daniel@ffwll.ch Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Message-ID: <6fab133b-9f94-fff5-8c87-1d7c6d3e9043@suse.de> Subject: Re: [PATCH -next] drm/ast: Make ast_primary_plane_helper_atomic_update static References: <1588819206-11406-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1588819206-11406-1-git-send-email-zou_wei@huawei.com> --9fVXXgiiOXDi9nrlmZbmnDfEj3AyQFBJv Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I'll add your patch to drm-misc-next. Thanks! Am 07.05.20 um 04:40 schrieb Samuel Zou: > Fix the following sparse warning: >=20 > drivers/gpu/drm/ast/ast_mode.c:564:6: warning: > symbol 'ast_primary_plane_helper_atomic_update' > was not declared. Should it be static? >=20 > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/ast/ast_mode.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_m= ode.c > index 7062bcd..4ddf770 100644 > --- a/drivers/gpu/drm/ast/ast_mode.c > +++ b/drivers/gpu/drm/ast/ast_mode.c > @@ -561,8 +561,9 @@ static int ast_primary_plane_helper_atomic_check(st= ruct drm_plane *plane, > return 0; > } > =20 > -void ast_primary_plane_helper_atomic_update(struct drm_plane *plane, > - struct drm_plane_state *old_state) > +static void > +ast_primary_plane_helper_atomic_update(struct drm_plane *plane, > + struct drm_plane_state *old_state) > { > struct ast_private *ast =3D plane->dev->dev_private; > struct drm_plane_state *state =3D plane->state; >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --9fVXXgiiOXDi9nrlmZbmnDfEj3AyQFBJv-- --GP1fBK66YqPm2jQR5el3FNevgUmX2CWs1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl60/8kACgkQaA3BHVML eiMhngf/X8nGRb0GfvKmxWPZ/TOQXNxEnOhisWFtUna+M4nCB+ZeW+t+d4gTk9xV JG9aLgCPlZngs8ZTvnVj614Df8kZ8j8TrGp333d6gSWEJvh0IHrMnL8eOkR2C5iJ y/uBC9KLE2/jIVNleFVANBGLkUNdf11RzPggGVCv4sKin8RyX91iT5THmfEFHTTs vZcqsGM1axYGML+f/KjVw2m+w8ivicqQasuwPb991xAg/S96Jw1CFDqVc6FDd4lF qGElPvFyTGyGvlEs8VCg8KSAGV/bOBbkYvmOpycsFLIfRVpNeb4m/QJOPjq+1EUo n7pifydfUQIaPDXXEhUF+U0KZAjRpg== =+xqQ -----END PGP SIGNATURE----- --GP1fBK66YqPm2jQR5el3FNevgUmX2CWs1--