Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5405946rwd; Mon, 12 Jun 2023 04:51:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6QI1g3DY6x1vMpEDeSD0P1u3kSEtbTWB+QKqGxrMf71gyEadNDNg+NFoWXyDCpy1A3UwZ9 X-Received: by 2002:a17:90a:31cb:b0:25c:2cf:1d20 with SMTP id j11-20020a17090a31cb00b0025c02cf1d20mr212381pjf.4.1686570712475; Mon, 12 Jun 2023 04:51:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686570712; cv=none; d=google.com; s=arc-20160816; b=uPB4jlFGQq72jnFaasgy7VgXC+NTcHMPTgRkF97OVH7QFNkHBjPVbZIbsWXOhWQUer /znh54KB6pkU0v1HA+uJNEx2k7WPpzny8d11RWawPSfDTc854RXRj61hWYAbj6wK4b78 icB4aCg8lZ+SFfsCokNmFbjuP+UHh6hZry0y/bXhagWqhFIJbbXT3658P3nI/jXDgNqL BjZ9qd+ZNXUO5nu81k7mU27KsYUWW8IUx6DmkFaQo1Olyc0VjFmi71Pqoh4o5J/HkWNb anCIIDJhnLm92jODwuo2A2XfmJp6O7+KI8u8jiQIPUsGaAOlfldtM7e+OhHldNMXuUF5 Xi8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7AE3YIdAaJL95l25jg/elykxrre5czkF+27Qu0WX1fg=; b=dJZddHVKg9vlk1NK3dYUB2IKnLu9VIPc35YM59VLNMZBEjiWQf5gcWMP+NWpfUvnIF qutCCqK0Ca5abk0Nq7q6WRoEYxetJ79OTDWeUAFwdlmxmDDaS/5GymUbzzQJCkxSHiHn hb7/uzMbJBuVNzD16BU7m0QfgyNVlVuzOmMiU8heUq2a9JlSfWvmvzpCV/yfjBvAhC7j rtr3561Bul9zx0gB/ei92SA8Nl/0WzCQ3ph0As/y51dlT/PZktzzKwoGjNZdKBFtCFD4 DMVBF326q+ymetTkxRP4myzV8oNHKnUFs5gDi9W9dVHlvZ2JrKxIHYnwNA8kepvP+gmw Ryvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeatR2Zf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d24-20020a17090ac25800b00250ab2f31besi7000947pjx.71.2023.06.12.04.51.40; Mon, 12 Jun 2023 04:51:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeatR2Zf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232111AbjFLLil (ORCPT + 99 others); Mon, 12 Jun 2023 07:38:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234998AbjFLLiF (ORCPT ); Mon, 12 Jun 2023 07:38:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 290777EC3 for ; Mon, 12 Jun 2023 04:23:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B57F5621CD for ; Mon, 12 Jun 2023 11:23:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A54C433EF; Mon, 12 Jun 2023 11:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686569032; bh=2pWJ7akrV/IBQIUQGqo/m2AjA44ebmjYSJmPmlQ+/BI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oeatR2Zf7LxcWnEC/5pHJEKc9Qu2yvyHbHpLOt/J8N3D1brNAMTLIlCUa9bTrwEjP 0GkpMA8rtcW8zeYdb9n/0Kqq4zVq+Y34X/7a7lBRSjs9t+eBUERUzxwOkqAESjtclZ dh6MOTdZ1+ThGN9z766sK47NVSG5794NFS/f8AYZW610wqhGfjTnBT+kMpOAbGvnDL 5Ex4lD1pi/dPzj8+JCrJnQJ8hy58b894PjT7nIWwu49pCB0f6VIBbslDG9g6Je0u3R 3BTGyggRSu+6DVJZBxd29pPv/QzbwxagUPhnQ1rhnaKeCVE7eLdA4K+mQ5UPhGUCZi yJpmLgL8q24hQ== Date: Mon, 12 Jun 2023 12:23:46 +0100 From: Lee Jones To: Matthias Brugger Cc: linux-kernel@vger.kernel.org, Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , AngeloGioacchino Del Regno , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RESEND 05/15] drm/mediatek/mtk_disp_ccorr: Remove half completed incorrect struct header Message-ID: <20230612112346.GN3635807@google.com> References: <20230609081732.3842341-1-lee@kernel.org> <20230609081732.3842341-6-lee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 09 Jun 2023, Matthias Brugger wrote: > > > On 09/06/2023 10:17, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:47: warning: Function parameter or member 'clk' not described in 'mtk_disp_ccorr' > > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:47: warning: Function parameter or member 'regs' not described in 'mtk_disp_ccorr' > > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:47: warning: Function parameter or member 'cmdq_reg' not described in 'mtk_disp_ccorr' > > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c:47: warning: Function parameter or member 'data' not described in 'mtk_disp_ccorr' > > > > Cc: Chun-Kuang Hu > > Cc: Philipp Zabel > > Cc: David Airlie > > Cc: Daniel Vetter > > Cc: Matthias Brugger > > Cc: AngeloGioacchino Del Regno > > Cc: dri-devel@lists.freedesktop.org > > Cc: linux-mediatek@lists.infradead.org > > Cc: linux-arm-kernel@lists.infradead.org > > Signed-off-by: Lee Jones > > --- > > drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 5 ----- > > 1 file changed, 5 deletions(-) > > > > diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c > > index 1773379b24398..720f3c7ef7b4f 100644 > > --- a/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c > > +++ b/drivers/gpu/drm/mediatek/mtk_disp_ccorr.c > > @@ -34,11 +34,6 @@ struct mtk_disp_ccorr_data { > > u32 matrix_bits; > > }; > > -/** > > - * struct mtk_disp_ccorr - DISP_CCORR driver structure > > - * @ddp_comp - structure containing type enum and hardware resources > > - * @crtc - associated crtc to report irq events to > > - */ > > That surely suppress the warning but I think the correct to do here is to > fix the documentation instead of deleting it. If someone wants to take responsibility for it and author correct documentation, I'm all for it. That is the perfect resolution. If that's not going to happen immediately, I suggest we remove it in the first instance. -- Lee Jones [李琼斯]