From patchwork Sat Jan 6 03:23:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 185578 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp6593175dyb; Fri, 5 Jan 2024 19:23:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGz7qPH0EXJ8TnrehQ+NZ4UVehUZ2hDnrWOdvwMIfKh8h8/NKIuWZRonGnyM+/pbDtOf2dI X-Received: by 2002:a05:6808:ecf:b0:3bc:3c28:f81b with SMTP id q15-20020a0568080ecf00b003bc3c28f81bmr488882oiv.11.1704511418294; Fri, 05 Jan 2024 19:23:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704511418; cv=none; d=google.com; s=arc-20160816; b=bsZxCT5Y6s1gYxy65AsWMVBChDlcIfkvaWUAsbGcrl5YPNMbugL7WXRFwC1zjLpRlT bO6uhrqOYCvLT8kF9Z8vsPQAddj5MjvF3asMdzBBd1FK2UKEnI0i0CVGDVXk5XpYnK4M nEB4I2uxqZgQEoJGSCQ5jm0dP+yaczmeUt9m5aWr/L4a+A4wxmHBeHP5Mte9qXm1KqqM OCUdUOo8iW83Cwm9i8d2PSWTFEemSnuQ/xo2o57tazKVJvtv7KLy9Qc+AnjPFagHqD4C 9eOdeHB9mDLHaad/CmsIFmT0HRGXXa/h1//rafK/We/AGKTrGXJ8eIZmELSxQNv4nZod C7qw== 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=ZnpNf4N7Jvohz0Y08QWu6pDVJuLwf1TN9JQTct6IR+8=; fh=1ywy2wkwu6RyzJB5eIenXGslVBu+lxGcEwWxZSTPKaI=; b=q+uKKZcMN/vLQVH4n0SO4UFrc771QXFMra3bxp2gAlZ3QzQvWW80VeJmSUVGCqSkdC MA0x9JqpH+43FMuiWhM/U8981TEDk4/MwQdoXI2BLG/Txw/O9Jr7RvWGBtyCjdyFq9dK z79xtTUzPpQ2dtaKujwdlmQY69lo/jHXXndkf4iCqEbXM+rDQ6yORTPgLDbVAn1XnrOM im9uHpg7B1E0BFOHzpeS7yl8Vt2w4CyXFodKLA+On0+8jEd1c0w/A25Sp6oNycRgNekH ErGeoXo6zhxASoF9+VD9aMB2r3FWtNm9oohftzB+gzoQgqPCVFuZMmHQaPtacvNQL0El leZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=WTqQUqF2; spf=pass (google.com: domain of linux-kernel+bounces-18465-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18465-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 c16-20020a656750000000b005c14c9b2d90si2337996pgu.59.2024.01.05.19.23.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 19:23:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18465-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=WTqQUqF2; spf=pass (google.com: domain of linux-kernel+bounces-18465-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18465-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 78867B2365D for ; Sat, 6 Jan 2024 03:23:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE8781FD9; Sat, 6 Jan 2024 03:23:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="WTqQUqF2" 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 B759915A5 for ; Sat, 6 Jan 2024 03:23:10 +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=ZnpNf4N7Jvohz0Y08QWu6pDVJuLwf1TN9JQTct6IR+8=; b=WTqQUqF2+CqA8gN2jZcWSp6ILJ eOrya0LfGWdme9a0jlm0M5KEl8c6p0KS6qRUWeuDUhGX2Qjh+8t77rKECPifddpXiNFVE2hn25TOM N6wCI04m0ULoYicD/WytJa/rdb5JPLO9B46xtBuycfNTFmq95M/Hmx0wjXMZ3joJHRFf6UTghrXWC zVUnCY+sXyyVY/Fz88b4mdqLamK91qXgM//BOY3Lttk0QbOeadojqBq1ylmcslf4OVw9rV4z6s/zG r/FbKBNwoKuxZF2tcUNx3NjAlJBwgtMTEDuAwIz2dcLUd/pZd0/w456n/l8iAmENiNmlVcZMrzPdH WslE5CSA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rLxHA-000fG6-2V; Sat, 06 Jan 2024 03:23:08 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Subject: [PATCH] drm/vram-helper: fix kernel-doc warnings Date: Fri, 5 Jan 2024 19:23:08 -0800 Message-ID: <20240106032308.27899-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: 1787309764563159468 X-GMAIL-MSGID: 1787309764563159468 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 --- 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 - \ * Initializes struct drm_plane_helper_funcs for VRAM handling * * Drivers may use GEM BOs as VRAM helpers for the framebuffer memory. This @@ -170,7 +170,6 @@ void drm_gem_vram_simple_display_pipe_cl * @vram_base: Base address of the managed video memory * @vram_size: Size of the managed video memory in bytes * @bdev: The TTM BO device. - * @funcs: TTM BO functions * * The fields &struct drm_vram_mm.vram_base and * &struct drm_vram_mm.vrm_size are managed by VRAM MM, but are