From nobody Sun Feb 8 08:47:43 2026 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 5B7072D7DCF; Wed, 17 Dec 2025 17:24:09 +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=1765992252; cv=none; b=an2zvWEA8qmMOLeFBvLfGM6t3PuIymwqYkCZf0YSTjRVUb5NDwSfyRGHtb2W2KLMuzBkCccHNFaFs0TxlfsZdH+aA5WG6QWEo4kSIu96tqVb0hHBDMzy6b94Db30tS4Q9WbfBKIFa8lUedWFok6m/bd+d6VRVYJNwRY1oxTf/RM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765992252; c=relaxed/simple; bh=+PpC+4mgo85FzfqJLBbiUr6rR7AC9pRiqaqgBeRBpAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=TL9DroZBZ9fHU45DXyM1E6WrX2xIHrnvXudSpSQOssGvUeAlD/ZPccZfmlZ61UPfvwCqo3kMJhwIyxvZrASLDDUxfG/gSOIKVp4H6kezHt7tZSLOFbNgheibdpGxiOn9YGTTSph9zF5S0326keyNzPyb0fy1uUL7IxIIhJLYXPs= 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=ExGZ+get; 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="ExGZ+get" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1765992247; bh=+PpC+4mgo85FzfqJLBbiUr6rR7AC9pRiqaqgBeRBpAU=; h=From:To:Cc:Subject:Date:From; b=ExGZ+getoiIFwkhtGNHVOrtgI9i8MiFxWP42OhDKr6HJPCA5wmaKYBqJBrzzYeFV1 5FXwwJDPrpW6E8m+ByvTXWMnF/k55FCCFYxAE9UIyiHQA0TUrTXLLLA0AgG5MCjdo+ 5/MgpBfd16BvwS8sfFrQiqpVn0b1PZN/SSJ9t65hGM8NgoCBF1uSQqAArbe+TSlm3v pZI9Ljdlk+okzT6e8a1146jm+NVk/ln8FX54VB5JNAQlJgctiuY/XppXyhSRTPcBbI XYns2QsGiY+KjtLUQKtY6LNwbsS5JWyPhnlyWOmcbloxS9XPItEXZsQjE26LEYGISp 6tQVMP3JurXsQ== Received: from debian-rockchip-rock5b-rk3588.. (unknown [IPv6:2a01:e0a:5e3:6100:2e0:4cff:fe03:d8c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: loicmolinari) by bali.collaboradmins.com (Postfix) with ESMTPSA id 2231917E127F; Wed, 17 Dec 2025 18:24:07 +0100 (CET) From: =?UTF-8?q?Lo=C3=AFc=20Molinari?= To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: Stephen Rothwell , Boris Brezillon , =?UTF-8?q?Lo=C3=AFc=20Molinari?= , Linux Kernel Mailing List , DRI Devel Mailing List , Intel Graphics Mailing List , Linux Next Mailing List , Collabora Kernel Mailing List Subject: [PATCH] drm/gem: Fix kerneldoc warnings Date: Wed, 17 Dec 2025 18:24:04 +0100 Message-ID: <20251217172404.31216-1-loic.molinari@collabora.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@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 Fix incorrect parameters in drm_gem_shmem_init() and missing " *" on empty lines in drm_gem_get_huge_mnt(). Signed-off-by: Lo=C3=AFc Molinari Reported-by: Stephen Rothwell Reviewed-by: Boris Brezillon Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap --- drivers/gpu/drm/drm_gem_shmem_helper.c | 7 +++++-- include/drm/drm_gem.h | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_g= em_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 drm_= device *dev, /** * drm_gem_get_huge_mnt - Get the huge tmpfs mountpoint used by a DRM devi= ce * @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. */ --=20 2.47.3