mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
drm/gem: Fix kerneldoc warnings
Fix incorrect parameters in drm_gem_shmem_init() and missing " *" on
empty lines in drm_gem_get_huge_mnt().
Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
Fixes: 6e0b1b8201 ("drm/gem: Add huge tmpfs mountpoint helpers")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/dri-devel/20251216115605.4babbce0@canb.auug.org.au/
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20251217172404.31216-1-loic.molinari@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
This commit is contained in:
parent
c57079937b
commit
b440baf355
2 changed files with 7 additions and 4 deletions
|
|
@ -94,9 +94,12 @@ err_release:
|
|||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
|
|||
|
|
@ -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 device
|
||||
* @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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue