From patchwork Fri Dec 15 23:56:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 179666 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9653451dys; Fri, 15 Dec 2023 15:56:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGR9EhKlJp7U1kctgLTVIjuxBxPPGTDVBW9pcG67/4ud3AlNyVDLwZtZfVT7RUYtEBE4nAM X-Received: by 2002:a17:906:4713:b0:a19:a1ba:babb with SMTP id y19-20020a170906471300b00a19a1bababbmr3180677ejq.97.1702684616885; Fri, 15 Dec 2023 15:56:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702684616; cv=none; d=google.com; s=arc-20160816; b=PIGNRwoTnOn+OKX93DkCykbeO+Fap+Cv+YVJ9TBot+UFzw8GgRPfUgDGIvN9DGuO+F 9Hxw9tzzchedrdUnK+p3kkqeS6Z/aoKjUnNqSikqkhuGGURLCojEmJDn2pyMxWcFWQ0G 7GD4ne2hZRyZLXsRcVOLYiyJKGwKG10w1sB6Rxn2KQRtYopAJlGlSV0f+dRbZl/7ejSw aC9yIjCY2/C+zJ7Ke/nwu9c6oRlUOGFwjJ7h6o5vV+3vRDkMs4mfHIL4pwyDpjYFHkiI 6nmcI+aH98naOtr3Oc+/Cny2fl7T1m/fjTrj3m0ZyBS4N/j1T/f8o/AT97+mNWw+xedS LYjQ== 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=6X/8g8dcFseOxoWxBd+fYzojaaVtjnt3eobM6crGlY8=; fh=j1DZIulB5VR6r6pjluZg3fo+IDxdrcYQ1URfFrUly5o=; b=jVgM2b04saujqLZvmht32f+71K3/DHuJ+tTWKvGoVfZZx4Qdzsfxf9rjmVB/Dh0Y7c 02EDgs+HFbU9HtiyVcNu1z59UFzUq/rmYFTxrc++RaKW2h6vYkfLZ5UeFE3YJBv24/k6 jbsreDmAvFcL59d3iLAPVAnYcdAAVYuLKPXrQVtKsrY/4G2LxFMnh83Wf6BEWhaEl1e5 3+6SUQzgMIFF22EVOFTJ10Y2wSYMJjUowuTsynZFYVI1PtN2HvL44osdFq0mjIEPqaMI d3RxVm3Qk2elmSjtv3l6dok8Phmpst/kO8NtSCLnQSKJ779Fw46DjbyIc96je9WM3mgo 2t7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=T0vDp6yS; spf=pass (google.com: domain of linux-kernel+bounces-1842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1842-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u13-20020a17090626cd00b00a1d92830b02si3534873ejc.957.2023.12.15.15.56.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 15:56:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=T0vDp6yS; spf=pass (google.com: domain of linux-kernel+bounces-1842-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1842-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 7D8ED1F26441 for ; Fri, 15 Dec 2023 23:56:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 074BA47F77; Fri, 15 Dec 2023 23:56:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="T0vDp6yS" 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 4B61236AEE for ; Fri, 15 Dec 2023 23:56:40 +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=6X/8g8dcFseOxoWxBd+fYzojaaVtjnt3eobM6crGlY8=; b=T0vDp6ySun5FruDXtGj19F0xQf +h+UsDLCvwXL0LTrclEYZN0neFFBG83g9CZ5e5uTrzFWqLQSHE8ho/EkhSMQSV4ygsBg44kO6cwUa A3PwcuvGxFp61US9Jd7fSgAt4MSjSEUravUrdjd2eOtCvzuGRgHlCyRxTe7D0Aw9PHgHCtaGCD4VE 5J0VqQqau6Nwl4j65OV24vkfswycRIAeQ3Nvho0dBPKauerVYKxKGWBVyv6/hKldGJsBY7qSkNtwH FLz93vUK5iCpj9N+MeQrL4+lLbU9Ye7w/Pbv1Km5og2W3ciNaTsKF4aIokBCb14zK5Ca8f3iuu2vV bVGrn9fg==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rEI2p-004tlg-1a; Fri, 15 Dec 2023 23:56:39 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Kees Cook , Zack Rusin , VMware Graphics Reviewers , dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Subject: [PATCH] drm/vmwgfx: fix kernel-doc Excess struct member 'base' Date: Fri, 15 Dec 2023 15:56:38 -0800 Message-ID: <20231215235638.19189-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: 1785394224702005613 X-GMAIL-MSGID: 1785394224702005613 Fix a new kernel-doc warning reported by kernel test robot: vmwgfx_surface.c:55: warning: Excess struct member 'base' description in 'vmw_user_surface' The other warning is not correct: it is confused by "__counted_by". Kees has made a separate patch for that. In -Wall mode, kernel-doc still reports 20 warnings of this nature: vmwgfx_surface.c:198: warning: No description found for return value of 'vmw_surface_dma_size' but I am not addressing those. Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202312150701.kNI9LuM3-lkp@intel.com/ Cc: Kees Cook Cc: Zack Rusin Cc: VMware Graphics Reviewers Cc: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 1 - 1 file changed, 1 deletion(-) diff -- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c --- a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c @@ -44,7 +44,6 @@ * struct vmw_user_surface - User-space visible surface resource * * @prime: The TTM prime object. - * @base: The TTM base object handling user-space visibility. * @srf: The surface metadata. * @master: Master of the creating client. Used for security check. */