Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp913954pxk; Fri, 25 Sep 2020 00:50:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9du72vF4tX5w8DMB9GaYfbDYpFLlB/v/KMJAk9i1RUQYE3xsKMFgo3ZKTP9K0OFigHvaQ X-Received: by 2002:a50:9b5e:: with SMTP id a30mr2618437edj.49.1601020227236; Fri, 25 Sep 2020 00:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601020227; cv=none; d=google.com; s=arc-20160816; b=UENIJkshnkaIx/doKZmiTCPaHCDUeZHd68Vvr/kSZC7IIkDXxx7x5Y6IQJeRB7u3HL 11bXp9cwcoled2YyD8DBZyYRHGqRAcIPJR/70OQNqCPDXIShI6e6kLcIh8wbEYpOQRuK H3UxcJhA6j6HHrPwhcy9RNAD3VXYbrCBbxZ5rKdI5OPEO38TYsQWNsedyFOdqDEIZ6Ek gJrFQ0MgWN7ZCZr8UJTo6KJMiNFykeuRKqAz8YDPEoqdUZFnAHKBAODW7tXZ4xILkHx/ nFBtsHYlMgrVrvIREZhym3dLXll/Kfcknvu/TXy2fZ8yyWDldVo7k47oBPxWf/E2Ni2J Iq0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=r1i0yE8eHvT6gLh/gHj5+cNFKDO3eSnTyr2B1ooZNMU=; b=d+VjFfW2XXym+JNWmcwz69qvIQO6tSpBCQ/Y3MPBxp9vuvpsgg6f/R6v/9MYycPl3V Rv/SG/qxq5Z+lfYwddm5Gk2sYlIVyH2Y3wWJAw4xyE3W1AANVErpnfAwLnqHkrEtSykw FrOXl77Xu5YnTKICG/Z+oGct3o50xTKxM/zesyXUUG4kv6SLqpjmhI4/PVcd3xCebTKr Zu4QWGXsFk9HWYNPEbaAe1o81V4BPks6sGYIIDUEtGVx3fzsuEfBK2BMHLZI7e5nLoZV UdlJlF3P/4l0jn5CV6Oe+5azLaT1WsgTIXF1R6gul4Q4GXusU27g2GNAg0cXiq+JW/Za 1jiA== 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 n2si1462184edi.564.2020.09.25.00.50.03; Fri, 25 Sep 2020 00:50:27 -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 S1727132AbgIYHtA (ORCPT + 99 others); Fri, 25 Sep 2020 03:49:00 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14235 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727044AbgIYHtA (ORCPT ); Fri, 25 Sep 2020 03:49:00 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 845AF1FACC9B85756694; Fri, 25 Sep 2020 15:48:58 +0800 (CST) Received: from [127.0.0.1] (10.57.60.129) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Fri, 25 Sep 2020 15:48:50 +0800 Subject: Re: [PATCH] drm/hisilicon: Deleted the drm_device declaration To: Thomas Zimmermann , Tian Tao , , , , , , , , CC: References: <1601016580-5937-1-git-send-email-tiantao6@hisilicon.com> <5db712e8-d6cb-3de9-f48e-c2060442e4e0@suse.de> <50c87a77-ffdd-42d2-0747-69c95305a48f@suse.de> From: "tiantao (H)" Message-ID: Date: Fri, 25 Sep 2020 15:48:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <50c87a77-ffdd-42d2-0747-69c95305a48f@suse.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.57.60.129] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/9/25 15:26, Thomas Zimmermann 写道: > Hi > > Am 25.09.20 um 09:02 schrieb Thomas Zimmermann: >> Hi, >> >> just a few nits. >> >> Am 25.09.20 um 08:49 schrieb Tian Tao: >>> drm_framebuffer.h contains drm/drm_device.h and struct drm_device is >> >> contains -> includes >> >>> already declared in this file, so there is no need to declare struct >> >> 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 > Thank you very much.I will apply this. >> >>> drm_device in hibm_drm_drv.h. >>> >>> Signed-off-by: Tian Tao >> >> Acked-by: Thomas Zimmermann >> >>> --- >>> 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 >>> >>> -struct drm_device; >>> - >>> struct hibmc_connector { >>> struct drm_connector base; >>> >>> >> >