Message ID | 20231226195432.10891-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-11663-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1067730dyb; Tue, 26 Dec 2023 11:56:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IES9COw8vEHBpN3ZGjwM4MLA+6oi2miBjteyLFVwvOm+iLYUXlPcw4b/bmIJj8OLzCbtncE X-Received: by 2002:a05:6870:a546:b0:204:4f0e:e480 with SMTP id p6-20020a056870a54600b002044f0ee480mr8832828oal.60.1703620565066; Tue, 26 Dec 2023 11:56:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703620565; cv=none; d=google.com; s=arc-20160816; b=1Isr3YsGyjwtn/O+HHGwiDgxaPj+g0B/Dr5iuPF2nLDFHzW4vvWJlz8DacdGWjpqa/ OW2JQBvWV+Z0lX5WzD6spcjWb5inLT/1Oz4rZXwPgIXCNxcW4W146B2US4OJ+hzYULh3 LUlTciHsyh5fSSqTYqBE3bN2faEiFQq4H52rwGp0GXiMEL+qmegBJYBABLbk/uaRV0hP 34HNojLUdZTlGKPEWNFfaCcqgU9FJQ5Xp08v65A3Q7r6QdfxAYop9PBLFHEk5fs2t5bs LbHIrWraXIwZP3n2kCPt4QZrgsZXFNd9AynoVVTsWRcRZAPz+gh7FPcIUgqrR678WwAL GnCQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Rr4zZlZeeGcP+0FJ74qNZJLVzA73VMRgRJ8o8EqCzVc=; fh=7C+om+4LAiL/I2vqDXHjdCv+GFuVkhSSXjorl92wcJo=; b=O8NdpblDxlZoMNUNhJSyBkiShBWZwqj9J0ijYVmca8kztTVMs1Tc3gsjaB6W6xFh68 9HlICMmoFx2POZgsBYBWUJlMv3ISkkDJT2w5rlXmYBer2U6mlPBpfIqgzl5DaSGWdRtT wfu6JIUfmpjFX6W4gU5MlY2fQk/WCYfz6ZBzQCBWE7P8YQH6d5R3fhKqm0SDzo9dR53+ OXEA2QHWjmIbpp0/p1rHJ6cBE0nuehacrVA3JzIUbz8/ylqp3ZcPmPth1wLawRAP262E FH4vUBLRiMoChkbF/dxDzFO+Zn0OIweO8GZFNqj5QEoDmDQc5WL/dfgw5yTaaQDp2TCZ WrGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="P/F1XcCX"; spf=pass (google.com: domain of linux-kernel+bounces-11663-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11663-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h7-20020a654047000000b005bdbcdc9e3dsi10173152pgp.142.2023.12.26.11.56.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:56:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11663-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="P/F1XcCX"; spf=pass (google.com: domain of linux-kernel+bounces-11663-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11663-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 56DCAB22375 for <ouuuleilei@gmail.com>; Tue, 26 Dec 2023 19:55:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FC53107B8; Tue, 26 Dec 2023 19:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="P/F1XcCX" 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 0B5961FA4 for <linux-kernel@vger.kernel.org>; Tue, 26 Dec 2023 19:54:33 +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:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=Rr4zZlZeeGcP+0FJ74qNZJLVzA73VMRgRJ8o8EqCzVc=; b=P/F1XcCXAwd3b4bw3Mr/MUXT2T 3O9/8xY0wu0NlfzE/qJVusvjUWYE3KTZYVj1VnnHXMvKzrmmKzEILj09hftfpzlOSr0Daf/epeHTa X9Pr+zCXq2Eqh38mMbT65HuI5aCrk1JFx0wGLW9y0zTSbHgEDFNybxZWfUICYmZg3R1iKewvldvcN 25mZ/jv6SU0IfcCgVRRPZNHMmKZHvzByutV8WR5aXRlRpiPVo2R8t3fuUd7EhWm8/XOxMAXw5SkNi e//MsNrqKKT0h7P2C7m7wneAu5drw+wCPpV1TNuHk/LM7hxjJ+bffGwus4yBElMzdyL0jx9QHmtl1 /Hrv5kAw==; 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-17; 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 1/4] drm/i915/gem: reconcile Excess struct member kernel-doc warnings Date: Tue, 26 Dec 2023 11:54:29 -0800 Message-ID: <20231226195432.10891-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 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: 1786375637685941145 X-GMAIL-MSGID: 1786375637685941145 |
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. i915_gem_context_types.h:420: warning: Excess struct member 'lock' description in 'i915_gem_context' 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/gem/i915_gem_context_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hi Randy, On Tue, Dec 26, 2023 at 11:54:29AM -0800, Randy Dunlap wrote: > Document nested struct members with full names as described in > Documentation/doc-guide/kernel-doc.rst. > > i915_gem_context_types.h:420: warning: Excess struct member 'lock' description in 'i915_gem_context' > > 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> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Thanks, Andi
diff -- a/drivers/gpu/drm/i915/gem/i915_gem_context_types.h b/drivers/gpu/drm/i915/gem/i915_gem_context_types.h --- a/drivers/gpu/drm/i915/gem/i915_gem_context_types.h +++ b/drivers/gpu/drm/i915/gem/i915_gem_context_types.h @@ -412,9 +412,9 @@ struct i915_gem_context { /** @stale: tracks stale engines to be destroyed */ struct { - /** @lock: guards engines */ + /** @stale.lock: guards engines */ spinlock_t lock; - /** @engines: list of stale engines */ + /** @stale.engines: list of stale engines */ struct list_head engines; } stale; };