From patchwork Tue Nov 15 01:49:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 20125 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2466986wru; Mon, 14 Nov 2022 17:53:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf4lyD5i5VA7HIoSBQyDoLcw/PzXSCYAfZrs8sioaE4dSMzMrTHiXFvvIuoo9c30WV+j7w98 X-Received: by 2002:a17:907:c203:b0:7ad:db82:d073 with SMTP id ti3-20020a170907c20300b007addb82d073mr12355960ejc.480.1668477234909; Mon, 14 Nov 2022 17:53:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668477234; cv=none; d=google.com; s=arc-20160816; b=TNLvnIz3WPHd1iVslgjxC/8xXc/oSAJKKIFbrsTiX7S7pXbBvBe92L+JTLpn411C1o c8mB1eXQDkfPXROcuYAhoNeXXumEMzM8kfk+q7rDaqaVhdmqnXfq8MsIsnfR98TbHi0B XzX+MTEqLLz9NHf8P3xCxaWWNqe53l9aAxHPwjbnzyXZRh8l50yCHebhTD36+lurFhdW 3KbDVA5CQtpQ+In5Bqt5hl8Ru4wsIMulQNa8knXZ68UJf9SMRuqFaIYsb/CgoZd3J4zA CYNECJ44DVUN4HCRKiHdgnBeO8bSSO1aYBZEmfW7sxYBh6HmYGNzvsjNDTw+9fXjDqqt q1dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=l9lxKaDBgkehr82sTHeF1fHWQYqNfPQJkuo9JX475OI=; b=0gdQ5Ett5WdchKeT3zUZBPhcLIH/PElrMEvcXVdWf4NOgi5RtEy+RpvwXMhf5uBec0 m49PN6OOs8kjXbHovGx/syGfrf8DdJvyehB2ECgvy8LUwxMUj00Vk5Ytrr9fXh9+SK47 UNEOEHt11MJWlIxQNBK07q5cFQ4f4vgo+ZRaM5Fqzl1kGuw5QAuazbEdNJg33FqA6hfW RFuXiPEHFu31tYoBo6Uo+NTdFxHDBGxpOqxCxVrcZgAXUNWAnghmR7AecH0fkwZLgaIE ErVc2eRzd5Ia7T7A75wtnuaZeijhV6WpdTgfG9GdiQOQnqOQutCAYNshsPwxY8b/zte1 eBgQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a170906839200b0077951929340si8021988ejx.271.2022.11.14.17.53.30; Mon, 14 Nov 2022 17:53:54 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230072AbiKOBtN (ORCPT + 99 others); Mon, 14 Nov 2022 20:49:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230041AbiKOBtJ (ORCPT ); Mon, 14 Nov 2022 20:49:09 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC90560FB; Mon, 14 Nov 2022 17:49:07 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=12;SR=0;TI=SMTPD_---0VUqrO2I_1668476944; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VUqrO2I_1668476944) by smtp.aliyun-inc.com; Tue, 15 Nov 2022 09:49:05 +0800 From: Yang Li To: robdclark@gmail.com Cc: quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm/msm/dpu: Fix some kernel-doc comments Date: Tue, 15 Nov 2022 09:49:02 +0800 Message-Id: <20221115014902.45240-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749525185003789481?= X-GMAIL-MSGID: =?utf-8?q?1749525185003789481?= Make the description of @init to @p in dpu_encoder_phys_wb_init() and remove @wb_roi in dpu_encoder_phys_wb_setup_fb() to clear the below warnings: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:139: warning: Excess function parameter 'wb_roi' description in 'dpu_encoder_phys_wb_setup_fb' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:699: warning: Function parameter or member 'p' not described in 'dpu_encoder_phys_wb_init' drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c:699: warning: Excess function parameter 'init' description in 'dpu_encoder_phys_wb_init' Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3067 Reported-by: Abaci Robot Signed-off-by: Yang Li Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c index 7cbcef6efe17..62f6ff6abf41 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c @@ -132,7 +132,6 @@ static void dpu_encoder_phys_wb_set_qos(struct dpu_encoder_phys *phys_enc) * dpu_encoder_phys_wb_setup_fb - setup output framebuffer * @phys_enc: Pointer to physical encoder * @fb: Pointer to output framebuffer - * @wb_roi: Pointer to output region of interest */ static void dpu_encoder_phys_wb_setup_fb(struct dpu_encoder_phys *phys_enc, struct drm_framebuffer *fb) @@ -692,7 +691,7 @@ static void dpu_encoder_phys_wb_init_ops(struct dpu_encoder_phys_ops *ops) /** * dpu_encoder_phys_wb_init - initialize writeback encoder - * @init: Pointer to init info structure with initialization params + * @p: Pointer to init info structure with initialization params */ struct dpu_encoder_phys *dpu_encoder_phys_wb_init( struct dpu_enc_phys_init_params *p)