Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1189385pxa; Thu, 13 Aug 2020 02:54:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy25oH42XRZxz/oh69s3R8yBRHzQLx3FmwXN8RiEgvaD+pbsTIR3n1jAOJPbaUU9rVRykBM X-Received: by 2002:a17:906:2c43:: with SMTP id f3mr2262183ejh.502.1597312490751; Thu, 13 Aug 2020 02:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597312490; cv=none; d=google.com; s=arc-20160816; b=L/GgTPjMGTmboFSaWk5AxmIRWDGlqvdvXcoW2VAbiaHXPoO37CQcZt10e1yJKvDf1k ti6gBgwYrkhU2MtqdTN49yuaQut++1fR31SNi76wew6rHDkxNYiv+BeDa7ET21Nu/xZd 93A3SbJVKsh39smnLVXxx1VlYziukKluTOnRdTflkXMwa73P5cfit1P+j5lg1bCbVBZL 1MfWrL/OsFjpI3lC3O5Y7598L9lu4lJdUnrP+o0rK3VEa5j7GJ0ka5dID/Ep3zWJAt+C 8ui43+1d/XKsfSZOeCGGa7lTFhSMEDtGU0FyVmNldioZVYGQtE0t2oRWvT83JgKsD0eW purw== 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:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=zg93XxO4l+jcR8PfpAZh0n8+oaLX+Q4lgRFm3zGssrc=; b=rbgQvyBjVCaIyIRnXt+CBYxE1Hln7rUt0aWpgCS2TGFJJNXmIOofchJK5awFQ0f6gN WD13MBKUeBvnT9BBWr3OtVVbmFvi8iCxvj0vjGWC6PzVIgPZb53rgK/1dkXVQkiU6f8n jo7LbEr5onodcBZ2Ga8DQamuJK0tLGuhYQHwdCLLl2xa/saERMayU1DH5UTqPZigLQR6 NyzEJW8H9A7H3U4QvQZ1Gl4paNOsIEJfO+QwuTw34ae5NynikHiyRCPKI/UIMP4khG+U Nmq9jnYhGqx2rWi5Q0w91DWfYp574SbLEb3pdB/QvV/q296iXV5dpu2dp6X3VDd5ytmu 6qIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=DVhNg6Kj; 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 v25si2900905ejg.91.2020.08.13.02.54.26; Thu, 13 Aug 2020 02:54:50 -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; dkim=pass header.i=@ffwll.ch header.s=google header.b=DVhNg6Kj; 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 S1726192AbgHMJvL (ORCPT + 99 others); Thu, 13 Aug 2020 05:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726048AbgHMJvK (ORCPT ); Thu, 13 Aug 2020 05:51:10 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B307C061757 for ; Thu, 13 Aug 2020 02:51:10 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id k8so4491807wma.2 for ; Thu, 13 Aug 2020 02:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=zg93XxO4l+jcR8PfpAZh0n8+oaLX+Q4lgRFm3zGssrc=; b=DVhNg6KjuaCUFHNyZn3fii/TgH9lle+4x/mX1ByaV25FzltReZ+eVhVlAFfxQ0o9Cs BHZf8neUfriA+xuI3HFmlV1P91lUGIGAxoPO8cUIZwTOwse3gLkuyLdaGIZS3d1/pHDo nbyzVt8rKGwFYDxNNBq7//TAbTd/Q+eWflGMc= 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 :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=zg93XxO4l+jcR8PfpAZh0n8+oaLX+Q4lgRFm3zGssrc=; b=RY0FwCBxekUdmYX6X5oNpCrtkwwkl2A4moUctsKhExfPNSeDl/oUu/ZOatOd7bL4OT FaStGM9bGppnaLVE1E7v0M7apeZ/gHCTjseIQ03IM7bv68SKdkXOIQ3IYrTcRxYlqVQV E4opIGCXnLE2Jk0bq5AsyoHDMAM6JvDnLWfXz5ND0yARFsjQpR8d7RGEv9PYkHjDsG6i ui9OTn0cKh2JD9dWE+gOyMXxlUclE3OvISSy2tw1gw7CfXVeIJAkecU/IR/xFrkqR5Sy DQkl0xIBel96/gvgFd6GxoN0/yftxIXDqmKFztLAyPXAtcMgQ7KiAl/fS7z5gbxuZ7mw aE3w== X-Gm-Message-State: AOAM531nOVA19FqtvdKExRNr6W6ZMgcOKNiHF7h+vwCa0szGGnyE7ZTy 3ECQ2ZJ99YJDS+YQmA7hBRgPUA== X-Received: by 2002:a1c:1d2:: with SMTP id 201mr3368914wmb.132.1597312268880; Thu, 13 Aug 2020 02:51:08 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id 124sm8705928wmd.31.2020.08.13.02.51.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 02:51:08 -0700 (PDT) Date: Thu, 13 Aug 2020 11:51:06 +0200 From: Daniel Vetter To: Thomas Zimmermann Cc: 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, linuxarm@huawei.com Subject: Re: [PATCH] drm/hisilicon: Fix build error of no type of module_init Message-ID: <20200813095106.GK2352366@phenom.ffwll.local> Mail-Followup-To: Thomas Zimmermann , Tian Tao , airlied@linux.ie, kraxel@redhat.com, alexander.deucher@amd.com, tglx@linutronix.de, dri-devel@lists.freedesktop.org, xinliang.liu@linaro.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com References: <1597289955-27381-1-git-send-email-tiantao6@hisilicon.com> <5e7ed4d6-8961-bdd0-6698-47571066357a@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5e7ed4d6-8961-bdd0-6698-47571066357a@suse.de> X-Operating-System: Linux phenom 5.7.0-1-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 13, 2020 at 10:03:18AM +0200, Thomas Zimmermann wrote: > Hi > > Am 13.08.20 um 05:39 schrieb Tian Tao: > > Add missing include to fix build error: > > hibmc_drm_drv.c:385:1: warning: data definition has no type or storage > > class [enabled by default] > > hibmc_drm_drv.c:385:1: error: type defaults to ‘int’ in declaration > > of ‘module_init’ [-Werror=implicit-int] > > hibmc_drm_drv.c:385:1: warning: parameter names (without types) in function > > of ‘module_exit’ [-Werror=implicit-int] > > hibmc_drm_drv.c:385:292:1: warning: parameter names (without types) in > > function declaration [enabled by default] > > > > Signed-off-by: Tian Tao > > Reported-by: kernel test robot > > Reviewed-by: Thomas Zimmermann > > I pushed the patch to drm-misc-next, but forgot to add my R-b tag. If > anyone complains, it's my fault. sob implies r-b generally, most maintainers do it like that and don't add both their sob and r-b tag. That's also why dim doesn't enforce an r-b tag in this case. -Daniel > > Best regards > Thomas > > > --- > > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > > index 1ae360d..2b4f821 100644 > > --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > > +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c > > @@ -11,6 +11,7 @@ > > * Jianhua Li > > */ > > > > +#include > > #include > > > > #include > > > > -- > Thomas Zimmermann > Graphics Driver Developer > SUSE Software Solutions Germany GmbH > Maxfeldstr. 5, 90409 Nürnberg, Germany > (HRB 36809, AG Nürnberg) > Geschäftsführer: Felix Imendörffer > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch