From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (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 C305B335077; Thu, 18 Dec 2025 10:09:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766052585; cv=none; b=b4fVk+UbSrsdWMQo0vP0Mh7Qpyd8yvqkTDVxSLn/r+giR1CKknZGs10aa+OrU4RH6uPPM0xLO8VuEK5hn3d/Z9yksifCh4g8L4cVPBTKFjsuhv2r3ZztFOqstPXPgUwy7S6OlE7e5E9iUa0WgjWXAPPWKNPUYPLgAUxfyNGoXhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766052585; c=relaxed/simple; bh=o1fdrSWwO0xShmzqL2G5QlgwbWYvhXX+R7M9VNjTXJ4=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FZoimNxJpPHh3aZ8yEjhD9qfQJKerM6YAszq2EyiWOR0kTGcks5ssbgSz9VHMyL+S8N6sLTRMQ4xXEMpZ4YSmH+NqmGsem7l5Au5YefDUEifNxIn9qxZZhdINx9crL7KdC7Ayy2bd36gGwdhcJUOkLSR+EC4Ec8+TrpdI55SJ5s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=nXG7GxuP; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="nXG7GxuP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1766052581; bh=o1fdrSWwO0xShmzqL2G5QlgwbWYvhXX+R7M9VNjTXJ4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nXG7GxuPC93tvgwak+SlwW3fsT70fORelI0ocCJLMZLZkDLgsIegaaElfdGba++31 HHSfySgD+qcrRBlfWsTz0agUC7Ve8BdtD49OphYgbcoiojIPNlO4MvKVVoa2k94NVA 05kLTaQ2jB2ucldlsndgs8t40DdjmHsGw8ULTCRsAhpP9AUPVyBu6D4gD/EnDSMILr H9x9vTwKo0kKEMtxcE+nnzToGJf+8K8DnW/Pi9+uq/9ZplVjH791BStOvMdHpjBV1w s6WoLYFVpGUrZFCjtcNY/kWnmAiLUOnSpxFkxcYxK1JoF0Hl3sT+3wNYRMaR3qWlR2 qlqiT3u7dG1EQ== 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 6835D17E1146; Thu, 18 Dec 2025 11:09:41 +0100 (CET) Date: Thu, 18 Dec 2025 11:09:37 +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: <20251218110937.2d1a0c7d@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) Precedence: bulk X-Mailing-List: linux-next@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 > Signed-off-by: Lo=C3=AFc Molinari Queued to drm-misc-next. > --- > 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. > */