Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1421944rdb; Sun, 8 Oct 2023 07:07:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUhb/QoYSaLeiM3Z6yUmtf2sZezv8/VwSqPspKMbJUmOPv0qMdyzz26zFoYr7bsklilqDO X-Received: by 2002:a05:6808:13d1:b0:3af:68f9:86de with SMTP id d17-20020a05680813d100b003af68f986demr18058381oiw.25.1696774064207; Sun, 08 Oct 2023 07:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696774064; cv=none; d=google.com; s=arc-20160816; b=hyR0WeoIhFqiHHfLt7wv2gvaWO4I5enNHFVDzJWR8mmt1By7QTfSA8b1RZoNn6dtGg SRDGNlltvtX3PMPOvMH211TarZYcj0r6J0il+judt1E1vuLnTYzBdA/ZmdVnrDX6UlHc y8ShCKAXhewb0TuuKuHC0+pAtI18GwjiMaGESM2INEDDiOMvL/gTzr7TXhPV9EM/Q2GP FY+jAGIhDSQV26ipXjUlGe48UUzXAoHf/N5wKReMtjpLut8Z3uDA5vjZ/VVMqQYWzgz6 pQib/VyaZEvOhFwgbch2Ulof1SPtZc+SIphT9gs983LVYmRBv3qaO48T5JbjOFF1YE/q IjjQ== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=31H6J0TKF2jb6VRUPaWmYacNYwTgcymYOOg7MyMV/6g=; fh=6ZHuw25GML2DloPkcnz/+KdDCbyG9fFQV8oxgh/3/Mw=; b=q63+RyJqgmwMGxVkWgcysdGDKPIWLZPA6+65mJoeQPu/l3jZIoJAMa63aw/i+OCp81 zqsg55L0cTfrv8/Wd8aMjt0Wa3U/t6uq7xMUJFTLL1Chy1Anb4sw37BG7Sv5gLA83tEd s4dmGh57b1cSJ97Ofw3Uh/vmv88Bi+aS/ORE4J2BwgFp2naRNR94fiTDRB1gdWKc0Qsl Rq0ziXcej4Lwgt3JP48/mIz0h8NbjYtcQVfSFTSm08V7Ls0iyW8IthGfE21Ev3cDKPJo nQ3cT92NuES3LgJStv02qSKDkLsI6WW2GCJgh/OHzZSO7ZkdmCEw0/gKc8lR8ytv55p7 Zevw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0hseURS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b18-20020a656692000000b005855f67e48csi8026531pgw.697.2023.10.08.07.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 07:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0hseURS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 65E7180AEB2F; Sun, 8 Oct 2023 07:07:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344873AbjJHOHh (ORCPT + 99 others); Sun, 8 Oct 2023 10:07:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344827AbjJHOHf (ORCPT ); Sun, 8 Oct 2023 10:07:35 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6C8199 for ; Sun, 8 Oct 2023 07:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=31H6J0TKF2jb6VRUPaWmYacNYwTgcymYOOg7MyMV/6g=; b=0hseURS32wrmjeWCmP59ESkAJl UPUY+oltA6U8Hg7+FPRboX5J4xJMABPgpxe8DHV6XUaip0FiLCGpVWJ1ar/NbxaQ+I5B16lBArgur Cl97ZqZ1X/FY8hD7efxD6QxArijb+yYhibWpb/PBy4OWW7mLNPKU9u6eI9Ij5TyLU8zS9i9+eZ7z4 i2Q2oyvAWBlfa5N9koTFrBVLCk0POr1MQG83Sg112YjWxrmtjRwNriSXBflfqwTSPpFmYA6adDsLD wEcq56kaPOY3vUT4CLHmT2TX8DqMDQvr+oCu4dksgIOCXtariFCyJwQT4vttVzK7rf+OK2vDzyZc5 RLUF3EHg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qpURL-008vvc-0W; Sun, 08 Oct 2023 14:07:27 +0000 Message-ID: <22b74194-2701-47b4-a8cc-3e41ceb326d6@infradead.org> Date: Sun, 8 Oct 2023 07:07:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/nouveau: fix kernel-doc warning Content-Language: en-US To: Bragatheswaran Manickavel , kherbst@redhat.com, lyude@redhat.com, dakr@redhat.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20231008070618.20640-1-bragathemanick0908@gmail.com> From: Randy Dunlap In-Reply-To: <20231008070618.20640-1-bragathemanick0908@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 08 Oct 2023 07:07:43 -0700 (PDT) Hi, On 10/8/23 00:06, Bragatheswaran Manickavel wrote: > Identified below document warning in latest linux-next. > ./include/uapi/drm/nouveau_drm.h:49: warning: Cannot understand > * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX: on line 49 - I thought it was a doc line > > Also, on running checkpatch.pl to nouveau_drm.h identified > few more warnings/errors and fixing them in this patch > > Signed-off-by: Bragatheswaran Manickavel > --- > include/uapi/drm/nouveau_drm.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h > index eaf9f248619f..a523ca5aa865 100644 > --- a/include/uapi/drm/nouveau_drm.h > +++ b/include/uapi/drm/nouveau_drm.h > @@ -46,7 +46,7 @@ extern "C" { > #define NOUVEAU_GETPARAM_HAS_PAGEFLIP 16 > > /** > - * @NOUVEAU_GETPARAM_EXEC_PUSH_MAX > + * NOUVEAU_GETPARAM_EXEC_PUSH_MAX: Yes, this does quieten the kernel-doc warning, but the produced html output is not correct. I had sent a patch for this but it was incomplete (missing full commit message). I have just sent a v2: https://lore.kernel.org/lkml/20231008140231.17921-1-rdunlap@infradead.org/ > * > * Query the maximum amount of IBs that can be pushed through a single > * &drm_nouveau_exec structure and hence a single &DRM_IOCTL_NOUVEAU_EXEC > @@ -458,15 +458,15 @@ struct drm_nouveau_svm_bind { > > #define DRM_IOCTL_NOUVEAU_GETPARAM DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GETPARAM, struct drm_nouveau_getparam) > #define DRM_IOCTL_NOUVEAU_CHANNEL_ALLOC DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_CHANNEL_ALLOC, struct drm_nouveau_channel_alloc) > -#define DRM_IOCTL_NOUVEAU_CHANNEL_FREE DRM_IOW (DRM_COMMAND_BASE + DRM_NOUVEAU_CHANNEL_FREE, struct drm_nouveau_channel_free) > +#define DRM_IOCTL_NOUVEAU_CHANNEL_FREE DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_CHANNEL_FREE, struct drm_nouveau_channel_free) > > #define DRM_IOCTL_NOUVEAU_SVM_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_SVM_INIT, struct drm_nouveau_svm_init) > #define DRM_IOCTL_NOUVEAU_SVM_BIND DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_SVM_BIND, struct drm_nouveau_svm_bind) > > #define DRM_IOCTL_NOUVEAU_GEM_NEW DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_NEW, struct drm_nouveau_gem_new) > #define DRM_IOCTL_NOUVEAU_GEM_PUSHBUF DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_PUSHBUF, struct drm_nouveau_gem_pushbuf) > -#define DRM_IOCTL_NOUVEAU_GEM_CPU_PREP DRM_IOW (DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_PREP, struct drm_nouveau_gem_cpu_prep) > -#define DRM_IOCTL_NOUVEAU_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_FINI, struct drm_nouveau_gem_cpu_fini) > +#define DRM_IOCTL_NOUVEAU_GEM_CPU_PREP DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_PREP, struct drm_nouveau_gem_cpu_prep) > +#define DRM_IOCTL_NOUVEAU_GEM_CPU_FINI DRM_IOW(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_CPU_FINI, struct drm_nouveau_gem_cpu_fini) > #define DRM_IOCTL_NOUVEAU_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_GEM_INFO, struct drm_nouveau_gem_info) > > #define DRM_IOCTL_NOUVEAU_VM_INIT DRM_IOWR(DRM_COMMAND_BASE + DRM_NOUVEAU_VM_INIT, struct drm_nouveau_vm_init) -- ~Randy