Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp904571pxk; Fri, 25 Sep 2020 00:29:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyedwk8gdMWiQ9azg2u0FkXNzHr1UaJP+eDPbkpzP/X3DNm/33Wy6FZsnCswE6O3vfJUfAF X-Received: by 2002:a17:906:95cf:: with SMTP id n15mr1517064ejy.14.1601018944345; Fri, 25 Sep 2020 00:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601018944; cv=none; d=google.com; s=arc-20160816; b=bJ6c2W0Xerql48yv7WjRdzhvY41BWpLpsjpiKCn5tFOiqXl2SmZCgedgdGSnmhySLB a6kPBvX9/xKYT0Oz47zpPZ0wg0mxiiQYASizWp2a8D4/BYu+LAjPHSNi9s3smV+d8MP/ qw32GkSle90WNii4+8dcs5b1gWrVNUnZPrUZyGZN7WRDNHjY9QhXpMWnJpK9TEcCk8K9 CrdfVwiekWljPslxAIw/vxANS07cYq0eLgyExT3avs9xbOwmBgY+nxJaq2rUm0ljs1ER PPNh9e2zqGHM84lUgNgY/7okTlkyWyQ7vdsgWG0IOpjp7oIEKb8kebOnt4QgRkq1zCwL 2iJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=8uvm3I4iXV5eWw27YT7e37EQ//qAQKKJrp15Fr00nY8=; b=lCkzRUS1oRepGqvNJgnw9CA+dalfVNpS0c3Rjb/XKo57MVM2HrxfKek4ctF5Mn0Ue1 5pcrbt0Tl3s/11njpM0uY3usqcJWnn6Pq8PXLBpzlTFnmlYyYncGFSPanJmf1WjPACPd vPozyRkersHcZK2v91HxTsU2JcjN7UJ39q3AfxlYT4y9bg1J9J8keKdAwUC7M/gKOccu hZn4aEjhsmv43ROUpRmMri8AAZL5puEOEbc9+Ro9gd5kajBjdHThea4wLfo/1DZsNHY7 Z6FW+9cQg3gt870D1SOpbgjw8oD9HrkPzW+NP3jaZy4Ti8VoIgpQHaHcHToCvWG3CHWw s+wg== 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 q4si1342941eji.683.2020.09.25.00.28.41; Fri, 25 Sep 2020 00:29:04 -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 S1727464AbgIYH0s (ORCPT + 99 others); Fri, 25 Sep 2020 03:26:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:37384 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbgIYH0s (ORCPT ); Fri, 25 Sep 2020 03:26:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 4488CABC4; Fri, 25 Sep 2020 07:26:46 +0000 (UTC) Subject: Re: [PATCH] drm/hisilicon: Deleted the drm_device declaration From: Thomas Zimmermann To: Tian Tao , airlied@linux.ie, daniel@ffwll.ch, kraxel@redhat.com, alexander.deucher@amd.com, tglx@linutronix.de, dri-devel@lists.freedesktop.org, xinliang.liu@linaro.org, linux-kernel@vger.kernel.org Cc: linuxarm@huawei.com References: <1601016580-5937-1-git-send-email-tiantao6@hisilicon.com> <5db712e8-d6cb-3de9-f48e-c2060442e4e0@suse.de> Message-ID: <50c87a77-ffdd-42d2-0747-69c95305a48f@suse.de> Date: Fri, 25 Sep 2020 09:26:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <5db712e8-d6cb-3de9-f48e-c2060442e4e0@suse.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lBT0zcnKBm5cMYwZocXW7MsVmNo8ugeqh" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lBT0zcnKBm5cMYwZocXW7MsVmNo8ugeqh Content-Type: multipart/mixed; boundary="X0CXQW3wudERYlWGlr0QpqzVs5BZ1TsBC"; protected-headers="v1" From: Thomas Zimmermann To: Tian Tao , airlied@linux.ie, daniel@ffwll.ch, kraxel@redhat.com, alexander.deucher@amd.com, tglx@linutronix.de, dri-devel@lists.freedesktop.org, xinliang.liu@linaro.org, linux-kernel@vger.kernel.org Cc: linuxarm@huawei.com Message-ID: <50c87a77-ffdd-42d2-0747-69c95305a48f@suse.de> Subject: Re: [PATCH] drm/hisilicon: Deleted the drm_device declaration References: <1601016580-5937-1-git-send-email-tiantao6@hisilicon.com> <5db712e8-d6cb-3de9-f48e-c2060442e4e0@suse.de> In-Reply-To: <5db712e8-d6cb-3de9-f48e-c2060442e4e0@suse.de> --X0CXQW3wudERYlWGlr0QpqzVs5BZ1TsBC Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Am 25.09.20 um 09:02 schrieb Thomas Zimmermann: > Hi, >=20 > just a few nits. >=20 > Am 25.09.20 um 08:49 schrieb Tian Tao: >> drm_framebuffer.h contains drm/drm_device.h and struct drm_device is >=20 > contains -> includes >=20 >> already declared in this file, so there is no need to declare struct >=20 > declared -> defined Wait a second. drm_framebuffer.h actually declares struct drm_device, but does not include . So the commit messag should say something like drm_framebuffer.h already declares struct drm_device, so there's no need to declare it in hibm_drm_drv.h >=20 >> drm_device in hibm_drm_drv.h. >> >> Signed-off-by: Tian Tao >=20 > Acked-by: Thomas Zimmermann >=20 >> --- >> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h b/drivers= /gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h >> index 87d2aad..6a63502 100644 >> --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h >> +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h >> @@ -22,8 +22,6 @@ >> #include >> #include >> =20 >> -struct drm_device; >> - >> struct hibmc_connector { >> struct drm_connector base; >> =20 >> >=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 --X0CXQW3wudERYlWGlr0QpqzVs5BZ1TsBC-- --lBT0zcnKBm5cMYwZocXW7MsVmNo8ugeqh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAl9tm7IUHHR6aW1tZXJt YW5uQHN1c2UuZGUACgkQaA3BHVMLeiPS6QgAtrpfFkftAONP8hjUjzlnukbRhky7 nefoa2MI6FoTK/rK24Ixv/jVh5U98t0TD7xAtVSh6G5DekAT/yajeyCCc6nSs3GO jlAyfFq3w2Xlp8T63LYeAPPRLpartcsyP35bKSvX9PCUe636mLxQin8wnW710rGY PnljCc4NnV7VhBkKB587QBwuuAr1D/jmUlgL/CzKoIBRzK3VEhkBneWwK7xsLOnb YOdK7wuo9dczfQNmSq7C9hXCoqlJaWzApKCExb224uIFI+n3IPEIV86je6jd5yFk uZuKa682BdvvBSV623Eosp97eBaYviCKbk7H0Bl8+5gX639k1VdG4LaYYg== =qeDT -----END PGP SIGNATURE----- --lBT0zcnKBm5cMYwZocXW7MsVmNo8ugeqh--