Skip to content

Commit cc1eeaa

Browse files
Yang Liogabbay
authored andcommitted
accel/habanalabs: Fix some kernel-doc comments
Make the description of @regs_range_array and @regs_range_array_size to @user_regs_range_array and @user_regs_range_array_size to silence the warnings: drivers/accel/habanalabs/common/security.c:506: warning: Function parameter or member 'user_regs_range_array' not described in 'hl_init_pb_ranges_single_dcore' drivers/accel/habanalabs/common/security.c:506: warning: Function parameter or member 'user_regs_range_array_size' not described in 'hl_init_pb_ranges_single_dcore' drivers/accel/habanalabs/common/security.c:506: warning: Excess function parameter 'regs_range_array' description in 'hl_init_pb_ranges_single_dcore' drivers/accel/habanalabs/common/security.c:506: warning: Excess function parameter 'regs_range_array_size' description in 'hl_init_pb_ranges_single_dcore' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=4940 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
1 parent d0dcd4b commit cc1eeaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/accel/habanalabs/common/security.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ int hl_init_pb_single_dcore(struct hl_device *hdev, u32 dcore_offset,
495495
* @instance_offset: offset between instances
496496
* @pb_blocks: blocks array
497497
* @blocks_array_size: blocks array size
498-
* @regs_range_array: register range array
499-
* @regs_range_array_size: register range array size
498+
* @user_regs_range_array: register range array
499+
* @user_regs_range_array_size: register range array size
500500
*
501501
*/
502502
int hl_init_pb_ranges_single_dcore(struct hl_device *hdev, u32 dcore_offset,

0 commit comments

Comments
 (0)