From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC4C4D68BF4 for ; Thu, 18 Dec 2025 09:00:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FEF110E75F; Thu, 18 Dec 2025 09:00:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="cGTE191/"; dkim-atps=neutral Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5FE0C10E77D; Thu, 18 Dec 2025 09:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1766048438; bh=p+4jk4VeC6vYAIhSV6qXueu98DjcNpRIykW6HJziL+U=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cGTE191/SiV6nwOP0O2Yd03YiGfVShfdBZuvUwGqIsf7yO8Dsk5hOVmVPXiv2fDNv bSmE/7lh7+LSVjeX1yd7MB/0nI1FEHwnGwom1rNNfWkfYJQdsHdfdCv3oTwftGqYf7 wMF4RaW5ywzZocIiet2kdETFTIpoNXD0gjIT8Bq7nActr6raHV7UvOhoZxHAy7a/re hv07X57EevnehSrb9HAopgue+GiGCJqqBwk+2zdRNlHtWL/NNScEauWKkbOFSWV0PE IN/ypwE+1Qp3xZBbkVV4iq24cf53HSC0MpF0wCZYnz1M0Fj3ZuDLfv3TgzbXrpCkMd nCrBtr6hGcMbg== Received: from fedora (unknown [IPv6:2a01:e0a:2c:6930:d919:a6e:5ea1:8a9f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by bali.collaboradmins.com (Postfix) with ESMTPSA id 71B4F17E1149; Thu, 18 Dec 2025 10:00:37 +0100 (CET) Date: Thu, 18 Dec 2025 10:00:33 +0100 From: Boris Brezillon To: =?UTF-8?B?TG/Dr2M=?= Molinari Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Stephen Rothwell , Linux Kernel Mailing List , DRI Devel Mailing List , Intel Graphics Mailing List , Linux Next Mailing List , Collabora Kernel Mailing List Subject: Re: [PATCH] drm/gem: Fix kerneldoc warnings Message-ID: <20251218100033.5a4447ac@fedora> In-Reply-To: <20251217172404.31216-1-loic.molinari@collabora.com> References: <20251217172404.31216-1-loic.molinari@collabora.com> Organization: Collabora X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Wed, 17 Dec 2025 18:24:04 +0100 Lo=C3=AFc Molinari wrote: > Fix incorrect parameters in drm_gem_shmem_init() and missing " *" on > empty lines in drm_gem_get_huge_mnt(). >=20 Fixes: 6e0b1b82017b ("drm/gem: Add huge tmpfs mountpoint helpers") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/dri-devel/20251216115605.4babbce0@canb.auug= .org.au/ > Signed-off-by: Lo=C3=AFc Molinari Reviewed-by: Boris Brezillon > --- > drivers/gpu/drm/drm_gem_shmem_helper.c | 7 +++++-- > include/drm/drm_gem.h | 4 ++-- > 2 files changed, 7 insertions(+), 4 deletions(-) >=20 > diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm= _gem_shmem_helper.c > index 29174ab58ff3..fbd1164174b0 100644 > --- a/drivers/gpu/drm/drm_gem_shmem_helper.c > +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c > @@ -94,9 +94,12 @@ static int __drm_gem_shmem_init(struct drm_device *dev= , struct drm_gem_shmem_obj > } > =20 > /** > - * drm_gem_shmem_init - Initialize an allocated object. > + * drm_gem_shmem_init - Initialize an allocated object of the given size > * @dev: DRM device > - * @obj: The allocated shmem GEM object. > + * @shmem: shmem GEM object to initialize > + * @size: Size of the object to initialize > + * > + * This function initializes an allocated shmem GEM object. > * > * Returns: > * 0 on success, or a negative error code on failure. > diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h > index f4da8ed0d630..86f5846154f7 100644 > --- a/include/drm/drm_gem.h > +++ b/include/drm/drm_gem.h > @@ -508,11 +508,11 @@ static inline int drm_gem_huge_mnt_create(struct dr= m_device *dev, > /** > * drm_gem_get_huge_mnt - Get the huge tmpfs mountpoint used by a DRM de= vice > * @dev: DRM device > - > + * > * This function gets the huge tmpfs mountpoint used by DRM device @dev.= A huge > * tmpfs mountpoint is used instead of `shm_mnt` after a successful call= to > * drm_gem_huge_mnt_create() when CONFIG_TRANSPARENT_HUGEPAGE is enabled. > - > + * > * Returns: > * The huge tmpfs mountpoint in use, NULL otherwise. > */