From patchwork Thu Dec 28 23:49:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 183815 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp2289131dyb; Thu, 28 Dec 2023 15:50:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwHp1fhEt5g+rHQTkBmEF72E4lBYmhqAXEvnhhQjYj5A1sPce6ypBvTnFCUnVgDJBJ6vo4 X-Received: by 2002:a17:906:15:b0:a23:5140:dd98 with SMTP id 21-20020a170906001500b00a235140dd98mr4557247eja.2.1703807405854; Thu, 28 Dec 2023 15:50:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703807405; cv=none; d=google.com; s=arc-20160816; b=FgBkrTg08NlyesIArctvbW33GZBHuRgcXTC/cE2BaVTysGSSeC6pNeFB3v1oKj8cdz +76k+l3k1QYrOsjg4X7nRgOC9dNgf/EqwBb/PExcBHvUpHq15w0guJ3Qpa3BwtE+Wekw PXIKhqCySH0Hd1sXsWpenVru3lOkM9Bm7LsdpdqWWXDzhEbyuzxe2p5gUnz1wxPDrj/U GL2tcmDlkcaAbWPqts+GONFqMGv+2Q1fy19EUNWkUzaJlUqrec9FzjVAVXC4g4aSf7hI I6npy0+G3J0kglKrqkKyr1Jv1dnFUlR5Eg+I5vyJLQpaB5owLDC1PQXiwjoI2IzhW3JI EqJQ== 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=CaD1scPgCP6kIN7T4P7A8QdN++h5vz9R+z+vQqZZTd0=; fh=Q+m79qlOiCFrh5XDx/m9WOEfE9YT2RfwRuH6NAFcrPE=; b=oX4CqodGcsDzFCXCtWaTYFuaNA/OEmbD2hS8gJImm+h8dtY6v44VjIOxNdF4XOJZkU 2kEkVTAzKQMCnTcKD02Ra+U2v68FcfbuRPKOUumQU6Re8UdEzWN1AvPoxL2oZqjsSunZ /vbUGTXmFqk5bKFvPTYZfLVZIs1ghsZOJ7zkbDq34A6K7T2DwRxhnDvFBDp4Jlq7fj9+ QDE5mzIZFRlkZASBT5d7Njy1Jk29yDnPA7RgZOcgxljWcvanBt4aMWPbddnsoSckKGyM UwH+kicccmj/U0pNFVkfyEl3yNFpVajtVWb4VaMH9lR4Hq+cNhEypESs2Eg9XQb6oY2L RQ4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mL+chwnB; spf=pass (google.com: domain of linux-kernel+bounces-12883-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12883-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a2-20020a170906274200b00a275c0b9104si1115574ejd.911.2023.12.28.15.50.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 15:50:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12883-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mL+chwnB; spf=pass (google.com: domain of linux-kernel+bounces-12883-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12883-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 742181F244CE for ; Thu, 28 Dec 2023 23:50:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 149DA10A2B; Thu, 28 Dec 2023 23:49:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="mL+chwnB" 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 91A3210A00 for ; Thu, 28 Dec 2023 23:49:47 +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=CaD1scPgCP6kIN7T4P7A8QdN++h5vz9R+z+vQqZZTd0=; b=mL+chwnB2GJ3qbZ7OdM6WUpPrV DTqoHYfpYMzxVURin3bv6MOz25/JeQ42ZqL1wSPCiXYhOhok0QEg6g2At+21woAJpweR+v8lX4OhA VPUgFlmUjNo5zcTGBpRen2yDwN8m3FnRgzMkyOu4J8FqtQeZWFKL1bHE9eqoI6u2HA/u9TDCsHty8 JpbCVq9dna+XLrgqoIE34+wLTfPKpqLAcQBFCUPJe8skllX7vbmKveoPyA321KrybVCuppaSBcle5 CT/8TSJ3hHiSw5S140I1p1D4Jf07JqaZP8cLVgoJ7RpjGajXwpQIRCj1QAqyRaxPPqz8EZK7d8G0s +GPFBS8g==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rJ08I-00HYK1-30; Thu, 28 Dec 2023 23:49:46 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org, Jonathan Corbet , dri-devel@lists.freedesktop.org, Andi Shyti Subject: [PATCH v2.1 2/4] drm/i915/gt: reconcile Excess struct member kernel-doc warnings Date: Thu, 28 Dec 2023 15:49:46 -0800 Message-ID: <20231228234946.12405-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786375584020137182 X-GMAIL-MSGID: 1786571554200331426 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 Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Cc: intel-gfx@lists.freedesktop.org Cc: Jonathan Corbet Cc: dri-devel@lists.freedesktop.org Reviewed-by: Rodrigo Vivi Cc: Andi Shyti --- v2: add Reviewed-by: Rodrigo rebase and resend due to (i915) patchwork being down v2.1: reformat to be consistent with kernel-doc in other files (Andi) Please let me know if I should resend all 4 patches as v3. drivers/gpu/drm/i915/gt/intel_gsc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 {