Assorted kernel-doc fixes
Subsystems (16)
cover Assorted kernel-doc fixes
Hi,
Here are assorted kernel-doc fixes for 6.19 cycle. As the name implies, for the merging strategy, the patches can be taken by respective maintainers to appropriate fixes branches (targetting 6.19 of course) (e.g. for mm it will be mm-hotfixes).
Enjoy!
Bagas Sanjaya (14):
genalloc: Describe @start_addr parameter in genpool_algo_t
mm: Describe @flags parameter in memalloc_flags_save()
textsearch: Describe @list member in ts_ops search
mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name mm, kfence: Describe @slab parameter in __kfence_obj_info()
virtio: Describe @map and @vmap members in virtio_device struct
fs: Describe @isnew parameter in ilookup5_nowait()
VFS: fix __start_dirop() kernel-doc warnings drm/amd/display: Don't use kernel-doc comment in
dc_register_software_state struct
drm/amdgpu: Describe @AMD_IP_BLOCK_TYPE_RAS in amd_ip_block_type enum drm/gem/shmem: Describe @shmem and @size parameters drm/scheduler: Describe @result in drm_sched_job_done() drm/gpusvm: Fix drm_gpusvm_pages_valid_unlocked() kernel-doc comment
net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group
struct
drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/include/amd_shared.h | 1 + drivers/gpu/drm/drm_gem_shmem_helper.c | 3 ++- drivers/gpu/drm/drm_gpusvm.c | 4 ++-- drivers/gpu/drm/scheduler/sched_main.c | 1 + fs/inode.c | 1 + fs/namei.c | 3 ++- include/linux/genalloc.h | 1 + include/linux/kfence.h | 1 + include/linux/sched/mm.h | 1 + include/linux/textsearch.h | 1 + include/linux/virtio.h | 2 ++ mm/vmalloc.c | 2 +- net/bridge/br_private.h | 1 + 14 files changed, 18 insertions(+), 6 deletions(-)
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/14 genalloc: Describe @start_addr parameter in genpool_algo_t
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/genalloc.h:52 function parameter 'start_addr' not described in 'genpool_algo_t'
Describe @start_addr to fix it.
--- include/linux/genalloc.h | 1 + 1 file changed, 1 insertion(+)
include/linux/genalloc.h +1 -0
@@ -44,6 +44,7 @@ struct gen_pool;* @nr: The number of zeroed bits we're looking for * @data: optional additional data used by the callback * @pool: the pool being allocated from +* @start_addr: chunk start address */ typedef unsigned long (*genpool_algo_t)(unsigned long *map, unsigned long size,
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 2/14 mm: Describe @flags parameter in memalloc_flags_save()
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./include/linux/sched/mm.h:332 function parameter 'flags' not described in 'memalloc_flags_save'
Describe @flags to fix it.
--- include/linux/sched/mm.h | 1 + 1 file changed, 1 insertion(+)
include/linux/sched/mm.h +1 -0
@@ -325,6 +325,7 @@ static inline void might_alloc(gfp_t gfp_mask)/** * memalloc_flags_save - Add a PF_* flag to current->flags, save old value +* @flags: Flags to add. * * This allows PF_* flags to be conveniently added, irrespective of current * value, and then the old version restored with memalloc_flags_restore().
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 02/14] mm: Describe @flags parameter in memalloc_flags_save()
Quoted 17 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/sched/mm.h:332 function parameter 'flags' not described in 'memalloc_flags_save'Describe @flags to fix it.
Fixes 3f6d5e6a468d02 ("mm: introduce memalloc_flags_{save,restore}")Signed-off-by Bagas Sanjaya <[email protected]>--- include/linux/sched/mm.h | 1 + 1 file changed, 1 insertion(+)include/linux/sched/mm.h +0
-0
include/linux/sched/mm.h static inline void might_alloc(gfp_t gfp_mask) · line 331
Quoted 7 lines
include/linux/sched/mm.h +1
-0@@ -325,6 +325,7 @@ static inline void might_alloc(gfp_t gfp_mask)/** * memalloc_flags_save - Add a PF_* flag to current->flags, save old value +* @flags: Flags to add. * * This allows PF_* flags to be conveniently added, irrespective of current * value, and then the old version restored with memalloc_flags_restore().
Signature · 3 lines
Cheers David
Re: [PATCH 02/14] mm: Describe @flags parameter in memalloc_flags_save()
In reply to Bagas SanjayaQuoted 9 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/sched/mm.h:332 function parameter 'flags' not described in 'memalloc_flags_save'Describe @flags to fix it.
Fixes 3f6d5e6a468d02 ("mm: introduce memalloc_flags_{save,restore}")Signed-off-by Bagas Sanjaya <[email protected]>---
Signature · 2 lines
Cheers, Harry / Hyeonggon
PATCH 3/14 textsearch: Describe @list member in ts_ops search
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./include/linux/textsearch.h:49 struct member 'list' not described in 'ts_ops'
Describe @list member to fix it.
--- include/linux/textsearch.h | 1 + 1 file changed, 1 insertion(+)
include/linux/textsearch.h +1 -0
@@ -35,6 +35,7 @@ struct ts_state* @get_pattern: return head of pattern * @get_pattern_len: return length of pattern * @owner: module reference to algorithm +* @list: list to search */ struct ts_ops {
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 4/14 mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./mm/vmalloc.c:4284 expecting prototype for vrealloc_node_align_noprof(). Prototype was for vrealloc_node_align() instead
Fix the macro name in vrealloc_node_align_noprof() kernel-doc comment.
--- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmalloc.c +1 -1
@@ -4248,7 +4248,7 @@ void *vzalloc_node_noprof(unsigned long size, int node)EXPORT_SYMBOL (vzalloc_node_noprof);/** -* vrealloc_node_align_noprof - reallocate virtually contiguous memory; contents +* vrealloc_node_align - reallocate virtually contiguous memory; contents * remain unchanged * @p: object to reallocate memory for * @size: the size to reallocate
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 04/14] mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name
Quoted 9 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./mm/vmalloc.c:4284 expecting prototype for vrealloc_node_align_noprof(). Prototype was for vrealloc_node_align() insteadFix the macro name in
vrealloc_node_align_noprof()kernel-doc comment.Fixes 4c5d3365882dbb ("mm/vmalloc: allow to set node and align in vrealloc")Signed-off-by Bagas Sanjaya <[email protected]>---
LGTM.
PATCH 5/14 mm, kfence: Describe @slab parameter in __kfence_obj_info()
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'
Fix it by describing @slab parameter.
--- include/linux/kfence.h | 1 + 1 file changed, 1 insertion(+)
include/linux/kfence.h +1 -0
@@ -211,6 +211,7 @@ struct kmem_obj_info;* __kfence_obj_info() - fill kmem_obj_info struct * @kpp: kmem_obj_info to be filled * @object: the object +* @slab: the slab * * Return: * * false - not a KFENCE object
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 05/14] mm, kfence: Describe @slab parameter in __kfence_obj_info()
Quoted 9 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'Fix it by describing @slab parameter.
Fixes 2dfe63e61cc31e ("mm, kfence: support kmem_dump_obj() for KFENCE objects")Signed-off-by Bagas Sanjaya <[email protected]>
Thanks!
Quoted 19 lines
--- include/linux/kfence.h | 1 + 1 file changed, 1 insertion(+)include/linux/kfence.h +1
-1@@ -211,6 +211,7 @@ struct kmem_obj_info;* __kfence_obj_info() - fill kmem_obj_info struct * @kpp: kmem_obj_info to be filled * @object: the object +* @slab: the slab * * Return: * * false - not a KFENCE object -- An old man doll... just what I always wanted! - Clara
Re: [PATCH 05/14] mm, kfence: Describe @slab parameter in __kfence_obj_info()
In reply to Bagas SanjayaQuoted 17 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'Fix it by describing @slab parameter.
Fixes 2dfe63e61cc31e ("mm, kfence: support kmem_dump_obj() for KFENCE objects")Signed-off-by Bagas Sanjaya <[email protected]>--- include/linux/kfence.h | 1 + 1 file changed, 1 insertion(+)include/linux/kfence.h +0
-0
include/linux/kfence.h struct kmem_obj_info; · line 217
Quoted 7 lines
include/linux/kfence.h +1
-0@@ -211,6 +211,7 @@ struct kmem_obj_info;* __kfence_obj_info() - fill kmem_obj_info struct * @kpp: kmem_obj_info to be filled * @object: the object +* @slab: the slab * * Return: * * false - not a KFENCE object
Signature · 3 lines
Cheers David
Re: [PATCH 05/14] mm, kfence: Describe @slab parameter in __kfence_obj_info()
In reply to Bagas SanjayaQuoted 9 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'Fix it by describing @slab parameter.
Fixes 2dfe63e61cc31e ("mm, kfence: support kmem_dump_obj() for KFENCE objects")Signed-off-by Bagas Sanjaya <[email protected]>---
Signature · 2 lines
Cheers, Harry / Hyeonggon
PATCH 6/14 virtio: Describe @map and @vmap members in virtio_device struct
In reply to Bagas SanjayaSphinx reports kernel-doc warnings:
WARNING: ./include/linux/virtio.h:181 struct member 'map' not described in 'virtio_device' WARNING: ./include/linux/virtio.h:181 struct member 'vmap' not described in 'virtio_device'
Describe these members.
--- include/linux/virtio.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/virtio.h +2 -0
@@ -150,11 +150,13 @@ struct virtio_admin_cmd {* @id: the device type identification (used to match it with a driver). * @config: the configuration ops for this device. * @vringh_config: configuration ops for host vrings. +* @map: configuration ops for device's mapping buffer * @vqs: the list of virtqueues for this device. * @features: the 64 lower features supported by both driver and device. * @features_array: the full features space supported by both driver and * device. * @priv: private pointer for the driver's use. +* @vmap: device virtual map * @debugfs_dir: debugfs directory entry. * @debugfs_filter_features: features to be filtered set by debugfs. */
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 06/14] virtio: Describe @map and @vmap members in virtio_device struct
Quoted 9 lines · Bagas Sanjaya
Sphinx reports kernel-doc warnings:
WARNING: ./include/linux/virtio.h:181 struct member 'map' not described in 'virtio_device' WARNING: ./include/linux/virtio.h:181 struct member 'vmap' not described in 'virtio_device'Describe these members.
Fixes bee8c7c24b7373 ("virtio: introduce map ops in virtio core")Signed-off-by Bagas Sanjaya <[email protected]>
Quoted 24 lines
--- include/linux/virtio.h | 2 ++ 1 file changed, 2 insertions(+)include/linux/virtio.h +2
-0@@ -150,11 +150,13 @@ struct virtio_admin_cmd {* @id: the device type identification (used to match it with a driver). * @config: the configuration ops for this device. * @vringh_config: configuration ops for host vrings. +* @map: configuration ops for device's mapping buffer * @vqs: the list of virtqueues for this device. * @features: the 64 lower features supported by both driver and device. * @features_array: the full features space supported by both driver and * device. * @priv: private pointer for the driver's use. +* @vmap: device virtual map * @debugfs_dir: debugfs directory entry. * @debugfs_filter_features: features to be filtered set by debugfs. */ Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 06/14] virtio: Describe @map and @vmap members in virtio_device struct
In reply to Bagas SanjayaQuoted 11 lines · Bagas Sanjaya
Sphinx reports kernel-doc warnings:
WARNING: ./include/linux/virtio.h:181 struct member 'map' not described in 'virtio_device' WARNING: ./include/linux/virtio.h:181 struct member 'vmap' not described in 'virtio_device'Describe these members.
Fixes bee8c7c24b7373 ("virtio: introduce map ops in virtio core")Signed-off-by Bagas Sanjaya <[email protected]>---
Thanks
PATCH 7/14 fs: Describe @isnew parameter in ilookup5_nowait()
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./fs/inode.c:1607 function parameter 'isnew' not described in 'ilookup5_nowait'
Describe the parameter.
--- fs/inode.c | 1 + 1 file changed, 1 insertion(+)
fs/inode.c +1 -0
@@ -1593,6 +1593,7 @@ EXPORT_SYMBOL(igrab);* @hashval: hash value (usually inode number) to search for * @test: callback used for comparisons between inodes * @data: opaque data pointer to pass to @test +* @isnew: whether the inode is new or not * * Search for the inode specified by @hashval and @data in the inode cache. * If the inode is in the cache, the inode is returned with an incremented
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Jan Kara
reviewerRe: [PATCH 07/14] fs: Describe @isnew parameter in ilookup5_nowait()
Quoted 8 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./fs/inode.c:1607 function parameter 'isnew' not described in 'ilookup5_nowait'Describe the parameter.
Fixes a27628f4363435 ("fs: rework I_NEW handling to operate without fences")Signed-off-by Bagas Sanjaya <[email protected]>
...
fs/inode.c EXPORT_SYMBOL(igrab); · line 1596
Quoted 5 lines
fs/inode.c +1
-0@@ -1593,6 +1593,7 @@ EXPORT_SYMBOL(igrab);* @hashval: hash value (usually inode number) to search for * @test: callback used for comparisons between inodes * @data: opaque data pointer to pass to @test +* @isnew: whether the inode is new or not
I'm sorry but this is true but misleading at the same time. I'd write there something like:
* @isnew: return argument telling whether I_NEW was set when the inode
was found in hash (the caller needs to wait for I_NEW to clear).
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
PATCH 8/14 VFS: fix __start_dirop() kernel-doc warnings
In reply to Bagas SanjayaSphinx report kernel-doc warnings:
WARNING: ./fs/namei.c:2853 function parameter 'state' not described in '__start_dirop' WARNING: ./fs/namei.c:2853 expecting prototype for start_dirop(). Prototype was for __start_dirop() instead
Fix them up.
--- fs/namei.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
fs/namei.c +2 -1
@@ -2836,10 +2836,11 @@ static int filename_parentat(int dfd, struct filename *name, }/** -* start_dirop - begin a create or remove dirop, performing locking and lookup +* __start_dirop - begin a create or remove dirop, performing locking and lookup * @parent: the dentry of the parent in which the operation will occur * @name: a qstr holding the name within that parent * @lookup_flags: intent and other lookup flags. +* @state: task state bitmask * * The lookup is performed and necessary locks are taken so that, on success, * the returned dentry can be operated on safely.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 9/14 drm/amd/display: Don't use kernel-doc comment in dc_register_software_state struct
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/amd/display/dc/dc.h:2796 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * Software state variables used to program register fields across the display pipeline
Don't use kernel-doc comment syntax to fix it.
--- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dc.h +1 -1
@@ -2793,7 +2793,7 @@ void dc_get_underflow_debug_data_for_otg(struct dc *dc, int primary_otg_inst, stvoid dc_get_power_feature_status (struct dc *dc,int primary_otg_inst,struct power_features *out_data); -/** +/* * Software state variables used to program register fields across the display pipeline */ struct dc_register_software_state {
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Alex Deucher
AppliedRe: [Linaro-mm-sig] [PATCH 09/14] drm/amd/display: Don't use kernel-doc comment in dc_register_software_state struct
Applied. Thanks!
Quoted 33 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/amd/display/dc/dc.h:2796 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst * Software state variables used to program register fields across the display pipelineDon't use kernel-doc comment syntax to fix it.
Fixes b0ff344fe70cd2 ("drm/amd/display: Add interface to capture expected HW state from SW state")Signed-off-by Bagas Sanjaya <[email protected]>--- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/dc.h +1
-2@@ -2793,7 +2793,7 @@ void dc_get_underflow_debug_data_for_otg(struct dc *dc, int primary_otg_inst, stvoid dc_get_power_feature_status (struct dc *dc,int primary_otg_inst,struct power_features *out_data); -/** +/* * Software state variables used to program register fields across the display pipeline */ struct dc_register_software_state { --An old man doll... just what I always wanted! - Clara
_______________________________________________
Linaro-mm-sig mailing list -- [email protected] To unsubscribe send an email to [email protected]
PATCH 10/14 drm/amdgpu: Describe @AMD_IP_BLOCK_TYPE_RAS in amd_ip_block_type enum
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/amd/include/amd_shared.h:113 Enum value 'AMD_IP_BLOCK_TYPE_RAS' not described in enum 'amd_ip_block_type'
Describe the value to fix it.
--- drivers/gpu/drm/amd/include/amd_shared.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/include/amd_shared.h +1 -0
@@ -89,6 +89,7 @@ enum amd_apu_flags {* @AMD_IP_BLOCK_TYPE_VPE: Video Processing Engine * @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Scheduler for Multimedia * @AMD_IP_BLOCK_TYPE_ISP: Image Signal Processor +* @AMD_IP_BLOCK_TYPE_RAS: RAS * @AMD_IP_BLOCK_TYPE_NUM: Total number of IP block types */ enum amd_ip_block_type {
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 10/14] drm/amdgpu: Describe @AMD_IP_BLOCK_TYPE_RAS in amd_ip_block_type enum
Quoted 18 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/amd/include/amd_shared.h:113 Enum value 'AMD_IP_BLOCK_TYPE_RAS' not described in enum 'amd_ip_block_type'Describe the value to fix it.
Fixes 7169e706c82d7b ("drm/amdgpu: Add ras module ip block to amdgpu discovery")Signed-off-by Bagas Sanjaya <[email protected]>--- drivers/gpu/drm/amd/include/amd_shared.h | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/include/amd_shared.h +0
-0
drivers/gpu/drm/amd/include/amd_shared.h enum amd_apu_flags { · line 92
Quoted 4 lines
drivers/gpu/drm/amd/include/amd_shared.h +1
-0@@ -89,6 +89,7 @@ enum amd_apu_flags {* @AMD_IP_BLOCK_TYPE_VPE: Video Processing Engine * @AMD_IP_BLOCK_TYPE_UMSCH_MM: User Mode Scheduler for Multimedia * @AMD_IP_BLOCK_TYPE_ISP: Image Signal Processor +* @AMD_IP_BLOCK_TYPE_RAS: RAS
Reliability, Availability, Serviceability. I've fixed this up locally and applied the patch.
Thanks,
Alex
Quoted 6 lines
drivers/gpu/drm/amd/include/amd_shared.h +0
-1* @AMD_IP_BLOCK_TYPE_NUM: Total number of IP block types */ enum amd_ip_block_type { --An old man doll... just what I always wanted! - Clara
PATCH 11/14 drm/gem/shmem: Describe @shmem and @size parameters
In reply to Bagas SanjayaSphinx reports kernel-doc warnings:
WARNING: ./drivers/gpu/drm/drm_gem_shmem_helper.c:104 function parameter 'shmem' not described in 'drm_gem_shmem_init' WARNING: ./drivers/gpu/drm/drm_gem_shmem_helper.c:104 function parameter 'size' not described in 'drm_gem_shmem_init'
Describe the parameters.
--- drivers/gpu/drm/drm_gem_shmem_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_gem_shmem_helper.c +2 -1
@@ -96,7 +96,8 @@ static int __drm_gem_shmem_init(struct drm_device *dev, struct drm_gem_shmem_obj/** * drm_gem_shmem_init - Initialize an allocated object. * @dev: DRM device -* @obj: The allocated shmem GEM object. +* @shmem: The allocated shmem GEM object. +* @size: shmem GEM object size * * Returns: * 0 on success, or a negative error code on failure.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 12/14 drm/scheduler: Describe @result in drm_sched_job_done()
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done'
Describe @result parameter to fix it.
--- drivers/gpu/drm/scheduler/sched_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/scheduler/sched_main.c +1 -0
@@ -361,6 +361,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)/** * drm_sched_job_done - complete a job * @s_job: pointer to the job which is done +* @result: job result * * Finish the job's fence and resubmit the work items. */
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Re: [PATCH 12/14] drm/scheduler: Describe @result in drm_sched_job_done()
nit about commit title:
We use "drm/sched:" as prefix nowadays
Quoted 6 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./drivers/gpu/drm/scheduler/sched_main.c:367 function parameter 'result' not described in 'drm_sched_job_done'Describe @result parameter to fix it
Thx for fixing this!
Quoted 13 lines
.
Fixes 539f9ee4b52a8b ("drm/scheduler: properly forward fence errors")Signed-off-by Bagas Sanjaya <[email protected]>---
drivers/gpu/drm/scheduler/sched_main.c | 1 +1 file changed, 1 insertion(+)drivers/gpu/drm/scheduler/sched_main.c +0
-0
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) · line 364
Quoted 4 lines
drivers/gpu/drm/scheduler/sched_main.c +1
-0@@ -361,6 +361,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) /*** drm_sched_job_done - complete a job * @s_job: pointer to the job which is done +* @result: job result
"error code for the job's finished-fence" would be a bit better and more verbose.
With that:
Quoted 3 lines
drivers/gpu/drm/scheduler/sched_main.c +0
-0* * Finish the job's fence and resubmit the work items. */
PATCH 13/14 drm/gpusvm: Fix drm_gpusvm_pages_valid_unlocked() kernel-doc comment
In reply to Bagas SanjayaCommit 6364afd532bcab ("drm/gpusvm: refactor core API to use pages struct") renames drm_gpusvm_range_pages_valid_unlocked() to drm_gpusvm_pages_valid_unlocked(), but its kernel-doc comment gets stale, hence kernel-doc complains:
WARNING: ./drivers/gpu/drm/drm_gpusvm.c:1229 function parameter 'svm_pages' not described in 'drm_gpusvm_pages_valid_unlocked' WARNING: ./drivers/gpu/drm/drm_gpusvm.c:1229 expecting prototype for drm_gpusvm_range_pages_valid_unlocked(). Prototype was for drm_gpusvm_pages_valid_unlocked() instead
Fix them up.
--- drivers/gpu/drm/drm_gpusvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_gpusvm.c +2 -2
@@ -1216,9 +1216,9 @@ bool drm_gpusvm_range_pages_valid(struct drm_gpusvm *gpusvm,EXPORT_SYMBOL_GPL (drm_gpusvm_range_pages_valid);/** -* drm_gpusvm_range_pages_valid_unlocked() - GPU SVM range pages valid unlocked +* drm_gpusvm_pages_valid_unlocked() - GPU SVM range pages valid unlocked * @gpusvm: Pointer to the GPU SVM structure -* @range: Pointer to the GPU SVM range structure +* @svm_pages: Pointer to the GPU SVM pages * * This function determines if a GPU SVM range pages are valid. Expected be * called without holding gpusvm->notifier_lock.
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 14/14 net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct
In reply to Bagas SanjayaSphinx reports kernel-doc warning:
WARNING: ./net/bridge/br_private.h:267 struct member 'tunnel_hash' not described in 'net_bridge_vlan_group'
Fix it by describing @tunnel_hash member.
--- net/bridge/br_private.h | 1 + 1 file changed, 1 insertion(+)
net/bridge/br_private.h +1 -0
@@ -247,6 +247,7 @@ struct net_bridge_vlan {* struct net_bridge_vlan_group * * @vlan_hash: VLAN entry rhashtable +* @tunnel_hash: tunnel rhashtable * @vlan_list: sorted VLAN entry list * @num_vlans: number of total VLAN entries * @pvid: PVID VLAN id
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Ido Schimmel
maintainerRe: [PATCH 14/14] net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct
Quoted 17 lines · Bagas Sanjaya
Sphinx reports kernel-doc warning:
WARNING: ./net/bridge/br_private.h:267 struct member 'tunnel_hash' not described in 'net_bridge_vlan_group'Fix it by describing @tunnel_hash member.
Fixes efa5356b0d9753 ("bridge: per vlan dst_metadata netlink support")Signed-off-by Bagas Sanjaya <[email protected]>--- net/bridge/br_private.h | 1 + 1 file changed, 1 insertion(+)net/bridge/br_private.h +0
-0
net/bridge/br_private.h struct net_bridge_vlan { · line 250
Quoted 4 lines
net/bridge/br_private.h +1
-0@@ -247,6 +247,7 @@ struct net_bridge_vlan {* struct net_bridge_vlan_group * * @vlan_hash: VLAN entry rhashtable +* @tunnel_hash: tunnel rhashtable
While you are at it, I suggest making the comment a bit more useful. Something like:
@tunnel_hash: Hash table to map from tunnel key ID (e.g., VXLAN VNI) to VLAN
Quoted 6 lines
net/bridge/br_private.h +0
-0* @vlan_list: sorted VLAN entry list * @num_vlans: number of total VLAN entries * @pvid: PVID VLAN id Signature · 1 line
An old man doll... just what I always wanted! - Clara
Jakub Kicinski
maintainerQuoted 4 lines · On Mon, 15 Dec 2025 18:38:48 +0700 Bagas Sanjaya wrote:
Here are assorted kernel-doc fixes for 6.19 cycle. As the name implies, for the merging strategy, the patches can be taken by respective maintainers to appropriate fixes branches (targetting 6.19 of course) (e.g. for mm it will be mm-hotfixes).
Please submit just the relevant changes directly to respective subsystems. Maintainers don't have time to sort patches for you. You should know better.
Quoted 9 lines · Jakub Kicinski
Quoted 4 lines · On Mon, 15 Dec 2025 18:38:48 +0700 Bagas Sanjaya wrote:
Here are assorted kernel-doc fixes for 6.19 cycle. As the name implies, for the merging strategy, the patches can be taken by respective maintainers to appropriate fixes branches (targetting 6.19 of course) (e.g. for mm it will be mm-hotfixes).
Please submit just the relevant changes directly to respective subsystems. Maintainers don't have time to sort patches for you. You should know better.
OK, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara