Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp308050rdd; Tue, 9 Jan 2024 05:02:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IECpMNgVQqjruZnJeRlgrX5RvyZLS+3Y0PHjsxqIz9ZKknlx04MUQ8oLo2Gmv0t80Tv3Ii9 X-Received: by 2002:a05:6214:1d0b:b0:67f:bbe8:c30 with SMTP id e11-20020a0562141d0b00b0067fbbe80c30mr7436182qvd.113.1704805372388; Tue, 09 Jan 2024 05:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704805372; cv=none; d=google.com; s=arc-20160816; b=L4Hc5lBfonBiCeg5Yp0wNW5yT0uuzRFp14cdInenumzjh5oh7vvK9ZEdppEe8lcKa9 Tp5XzDAy8PRm9XcLxyAxvZGlNCuAmG9P6Sk0aKTsuINR+zcmLlgIRFiFnMp4R55asgk/ lKYsddztT8a8ABaSsXX6D+Q7k8I4VO29xiE0s9zRKTVfW1amgW3exCKzRnpLrTC5Qm9z /doAF0QE71uE+DlwGappR/DsK+rf2zpd24Sokl+J/U62jxAYtiSaeyU8l7W2RsUGOiF0 6fuoEM+7O2z+gSBfftE1GhmpkiHjG1G2NsW7/+ohLcnFUtQ7Zfu9nmhJrVwi20A+oTOx 9wBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ajGb4247KZo9KXfE9A+LGftI6qScHSAY4EbVlCZxC6s=; fh=tUHQgs+g7MIv9usq5MEfvykLXUAxeOdhOi+rxUC1jug=; b=qHO9wzBrmgVYoZjWqki7pze+TJP1VZs53MjVcwOHbNNCaEYICQkkZ677lua1rsDDAT hu5O9uus5Bfyu0TaExrB0Y4noShpzNGCyG03LpGkO7CAGYrt/ZzT/HKz4165oZjCwXn1 3wvVxNEbeUuLAOOJh7q2SK7kMreOCBTvumZIqt+OyKbQEp2zGb+5jg9OAFDKBVNlQxD3 uDoPzHH6K2nOd91yA0d/bjlXsj1dJLMA7pFPn7mxThHxVe1eLW8LMKxyH3jXUSW7zy0T nNqGkwSu18turgXGDAbHh+nQn81QK2cN8O7Kv6l8XiZEKJio0nVkY3Vx0mu94RHGttHO 2QOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=VKt5oT3W; spf=pass (google.com: domain of linux-kernel+bounces-20871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20871-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g1-20020a0cf081000000b0067f65e91c16si2098361qvk.172.2024.01.09.05.02.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 05:02:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=VKt5oT3W; spf=pass (google.com: domain of linux-kernel+bounces-20871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20871-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 173971C24263 for ; Tue, 9 Jan 2024 13:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5EE33C09F; Tue, 9 Jan 2024 12:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="VKt5oT3W" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EECB3C08D for ; Tue, 9 Jan 2024 12:59:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ffwll.ch Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5578cb9645bso783431a12.0 for ; Tue, 09 Jan 2024 04:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; t=1704805155; x=1705409955; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=ajGb4247KZo9KXfE9A+LGftI6qScHSAY4EbVlCZxC6s=; b=VKt5oT3WoqRwa1/1uzCt/kEqheUAL9ZbLIGAY5gMKLStruIqP/5OoD96CBvNpc+LQZ bgbDtYSEoGWkc+9NgDV5t8bylT2ezozVYcFTGcltJjhfk66yA1zaVzNdjSG64iBgp8Oa qP8d5pa1nhqgPv+LwpbbJZ3r48anBQiLUYsHI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704805155; x=1705409955; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ajGb4247KZo9KXfE9A+LGftI6qScHSAY4EbVlCZxC6s=; b=VlNECeR8FK1JhXZXrKq/G/oAemLq71kmWnpIMywAmjCFfeTjH7VVmE/x3HruOExFGv i2E5llpda1CQN7kOFtunldMB6o/9POM+0aRSTL+nD1t3WmoZ65Y0olRFzTq8PjIuHiBT RaqG6OGKGYPqlECGJmfkxUEWzvUBd7arGVXID1eJ+YzBrULFwi7sWeVkbi+NtRhmc8Z/ qmXqwUcxOiO96hTD1NbKq+HLgol0CiZpqwsFvfsCgmBFR7M+0oKnVDt0WRO0+PxQi6Et artGuQV1+y9f6GgJ2YkDCLo6yYu1XrARjfATXYRe2dtUGhuPLXenr0P6dKZXG4ElPGNx rFig== X-Gm-Message-State: AOJu0Yylpf8Iw4BhQ1EgVIJM9NMUfvRKh73GGmtWb7OIZ0zi68JL2qF+ HUN6unEnfvX+BFAr++7C4bKUf7d4Yl5sRQ== X-Received: by 2002:a17:906:6c86:b0:a2b:1e1a:ac4c with SMTP id s6-20020a1709066c8600b00a2b1e1aac4cmr1481053ejr.6.1704805155545; Tue, 09 Jan 2024 04:59:15 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id la8-20020a170906ad8800b00a2af8872e9bsm1042408ejb.14.2024.01.09.04.59.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 04:59:14 -0800 (PST) Date: Tue, 9 Jan 2024 13:59:12 +0100 From: Daniel Vetter To: Randy Dunlap Cc: Thomas Zimmermann , linux-kernel@vger.kernel.org, David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , linux-doc@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH v2] drm/vram-helper: fix kernel-doc warnings Message-ID: Mail-Followup-To: Randy Dunlap , Thomas Zimmermann , linux-kernel@vger.kernel.org, David Airlie , dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , linux-doc@vger.kernel.org, Jonathan Corbet References: <20240106032957.1195-1-rdunlap@infradead.org> <944ca2e6-23d9-44a2-a58c-4380e9ee575f@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 6.5.0-4-amd64 On Mon, Jan 08, 2024 at 01:10:12PM -0800, Randy Dunlap wrote: > Hi Thomas, > > On 1/8/24 00:57, Thomas Zimmermann wrote: > > Hi, > > > > thanks for the fix. > > > > Am 06.01.24 um 04:29 schrieb Randy Dunlap: > >> Remove the @funcs entry from struct drm_vram_mm to quieten the kernel-doc > >> warning. > >> > >> Use the "define" kernel-doc keyword and an '\' line continuation > >> to fix another kernel-doc warning. > >> > >> drm_gem_vram_helper.h:129: warning: missing initial short description on line: > >> ? * DRM_GEM_VRAM_PLANE_HELPER_FUNCS - > >> drm_gem_vram_helper.h:185: warning: Excess struct member 'funcs' description in 'drm_vram_mm' > >> > >> Signed-off-by: Randy Dunlap > >> Cc: David Airlie > >> Cc: Daniel Vetter > >> Cc: dri-devel@lists.freedesktop.org > >> Cc: Maarten Lankhorst > >> Cc: Maxime Ripard > >> Cc: Thomas Zimmermann > >> --- > >> v2: Add commit description > >> > >> base-commit: 610a9b8f49fbcf1100716370d3b5f6f884a2835a > >> > >> ? include/drm/drm_gem_vram_helper.h |??? 3 +-- > >> ? 1 file changed, 1 insertion(+), 2 deletions(-) > >> > >> diff -- a/include/drm/drm_gem_vram_helper.h b/include/drm/drm_gem_vram_helper.h > >> --- a/include/drm/drm_gem_vram_helper.h > >> +++ b/include/drm/drm_gem_vram_helper.h > >> @@ -126,7 +126,7 @@ drm_gem_vram_plane_helper_cleanup_fb(str > >> ?????????????????????? struct drm_plane_state *old_state); > >> ? ? /** > >> - * DRM_GEM_VRAM_PLANE_HELPER_FUNCS - > >> + * define DRM_GEM_VRAM_PLANE_HELPER_FUNCS - \ > > > > Did something change wrt. doc syntax? I think this used to work without warnings. About this 'define': we don't use is in another docs. Can we leave it out here or is this the new syntax? > > > > There are no doc syntax changes that I know of. This is not > new syntax. It has been around since 2014: > cbb4d3e6510b ("scripts/kernel-doc: handle object-like macros") I had no idea this exists, thanks a lot for this TIL :-) I guess the issue here is that this exists, yay, but it's not documented with the other here: https://dri.freedesktop.org/docs/drm/doc-guide/kernel-doc.html#structure-union-and-enumeration-documentation I guess a patch to kernel-doc.rst would be great. Adding some kernel-doc folks. Cheers, Sima -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch