Message ID | 20231226195432.10891-2-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-11660-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1067412dyb; Tue, 26 Dec 2023 11:55:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGD+3EtyC7Rl13usLxSl1/o9IO/R900vYxBBx7SgTUwUVY2I9roeGuK9eC6W6G16p+U1ASR X-Received: by 2002:a05:6358:6f93:b0:174:c9a0:cf99 with SMTP id s19-20020a0563586f9300b00174c9a0cf99mr3777843rwn.57.1703620513970; Tue, 26 Dec 2023 11:55:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703620513; cv=none; d=google.com; s=arc-20160816; b=cyHIC5Iz+W0jjdWW+ijFhwadhDyozqdWUWJz3YQS3tVm+hRKNejhIM+J1MHcvq+qlJ v2rQN1bKttG2TxmgWzMtsMsA5S2JUhS3bQ7QHQP76M9qk65D8SBTjLyl5Cc6OA9I8hzr Pn00ygZ8SGNBuuG8FhHm5yQm+6d9+YWmElWd8Pk83+rjxIUwEh6tik9AhOeRCR8hTV0V lLt5GvIOAXRoNN5QwXc/TG9iSJ73Y810qBwlAJOGhcA36TO7pQFwtSKbR0tMS41jSBeY YTlidscHIPoEq4hlvvBKo6D+3DEY/PIPbbpF5jHiZB4q34eX7ho5HUI/44eIBSah7Efz Z/GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=21wQk0jscaODvVpni8xGD2rI9Yw0sdDCJDIjv7Nhv4I=; fh=7C+om+4LAiL/I2vqDXHjdCv+GFuVkhSSXjorl92wcJo=; b=rXE7ONFmGfV2KVP/0BWk2OMEUYbquhbhDJi9DwVg85iGuPGUVIr5JS0u0znfwwGLNu xU2+7mRA2BTZf8nHOL0hpgPnPHS+HUi0iiex5UPqHwpJzRZ1J9HCCWu02F2DqmwFFrJs 482Ha7GZoAvSMIYIaWgww5sapVNqUgNhz+8dth70IjR+lt/noS0LdPOYbJ7lz2VyiEcn ZPlr7MBPSWtcBdo9E1kZX3CB4b61YBgBjGD50c16UGJHl9jGxSD9WCcmI5YuEkA6PUah P3S93evsqX5AIevvxMircqarGbWi8HtaFZYUNfLzWQMfSjxqPUPdX2GQXRtymmZHASHz B/SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=XpLq3aLs; spf=pass (google.com: domain of linux-kernel+bounces-11660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11660-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id pw14-20020a17090b278e00b0028c890ce697si490440pjb.9.2023.12.26.11.55.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:55:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=XpLq3aLs; spf=pass (google.com: domain of linux-kernel+bounces-11660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11660-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F11C32816AD for <ouuuleilei@gmail.com>; Tue, 26 Dec 2023 19:55:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D6017EAFE; Tue, 26 Dec 2023 19:54:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XpLq3aLs" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 104CC1FAD for <linux-kernel@vger.kernel.org>; Tue, 26 Dec 2023 19:54:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=21wQk0jscaODvVpni8xGD2rI9Yw0sdDCJDIjv7Nhv4I=; b=XpLq3aLsCCrZgGbZlZvPF1X29W +mNLf0pIpRdl9uXlg5v2B4xunqNfItuRfvYHwuJ3QlDjBW4Dre5/37V49wEqp6OapAtv0ckX4qauh 53h/0Sbl5uk7e3n7zkFjeBeG/ieSwEr7tW4Vz8PdCe68Oq7BxQEjxxYJxwB0xI2z9gqd9YG1ZOS1B 45Kwgx8DMQ6mQ4QJhMNVCnmZS3kbAgmRfPge80uVU3vwemz6ErFonguSqjaowmB4SQZza0ZGNnqxX VxqM3nRB9F5sSdL3g+lJCcLYLJlOBrFEEweINTDDJZV00m4qaLhRSIPjvmZP5/VA4ZVy2tyY0HRNw QzNr26fA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rIDVZ-00DT1I-2F; Tue, 26 Dec 2023 19:54:33 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Jani Nikula <jani.nikula@linux.intel.com>, Joonas Lahtinen <joonas.lahtinen@linux.intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>, Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>, intel-gfx@lists.freedesktop.org, Jonathan Corbet <corbet@lwn.net>, dri-devel@lists.freedesktop.org Subject: [PATCH v2 2/4] drm/i915/gt: reconcile Excess struct member kernel-doc warnings Date: Tue, 26 Dec 2023 11:54:30 -0800 Message-ID: <20231226195432.10891-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231226195432.10891-1-rdunlap@infradead.org> References: <20231226195432.10891-1-rdunlap@infradead.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786375584020137182 X-GMAIL-MSGID: 1786375584020137182 |
Series |
[v2,1/4] drm/i915/gem: reconcile Excess struct member kernel-doc warnings
|
|
Commit Message
Randy Dunlap
Dec. 26, 2023, 7:54 p.m. UTC
Document nested struct members with full names as described in Documentation/doc-guide/kernel-doc.rst. intel_gsc.h:34: warning: Excess struct member 'gem_obj' description in 'intel_gsc' Also add missing field member descriptions. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jani Nikula <jani.nikula@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: intel-gfx@lists.freedesktop.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: dri-devel@lists.freedesktop.org Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> --- v2: add Reviewed-by: Rodrigo rebase and resend due to (i915) patchwork being down drivers/gpu/drm/i915/gt/intel_gsc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Comments
Hi Randy, ... > /** > * struct intel_gsc - graphics security controller > * > - * @gem_obj: scratch memory GSC operations > - * @intf : gsc interface > + * @intf : gsc interface > + * @intf.adev : MEI aux. device for this @intf > + * @intf.gem_obj : scratch memory GSC operations > + * @intf.irq : IRQ for this device (%-1 for no IRQ) > + * @intf.id : this interface's id number/index > */ I don't really like the tabs here and the space before the ':', which makes it a bit harder to read. Besides it doesn't look consistent with the rest of the documentation. Otherwise, looks good. Andi
Hi Andi, On 12/28/23 08:25, Andi Shyti wrote: > Hi Randy, > > ... > >> /** >> * struct intel_gsc - graphics security controller >> * >> - * @gem_obj: scratch memory GSC operations >> - * @intf : gsc interface >> + * @intf : gsc interface >> + * @intf.adev : MEI aux. device for this @intf >> + * @intf.gem_obj : scratch memory GSC operations >> + * @intf.irq : IRQ for this device (%-1 for no IRQ) >> + * @intf.id : this interface's id number/index >> */ > > I don't really like the tabs here and the space before the ':', > which makes it a bit harder to read. Besides it doesn't look > consistent with the rest of the documentation. > > Otherwise, looks good. Yes, one existing line had " : " and somehow I managed to use that on all of the new lines. Not good. I'll redo patch 2/4. Thanks.
diff -- a/drivers/gpu/drm/i915/gt/intel_gsc.h b/drivers/gpu/drm/i915/gt/intel_gsc.h --- a/drivers/gpu/drm/i915/gt/intel_gsc.h +++ b/drivers/gpu/drm/i915/gt/intel_gsc.h @@ -21,8 +21,11 @@ struct mei_aux_device; /** * struct intel_gsc - graphics security controller * - * @gem_obj: scratch memory GSC operations - * @intf : gsc interface + * @intf : gsc interface + * @intf.adev : MEI aux. device for this @intf + * @intf.gem_obj : scratch memory GSC operations + * @intf.irq : IRQ for this device (%-1 for no IRQ) + * @intf.id : this interface's id number/index */ struct intel_gsc { struct intel_gsc_intf {