drm/amd/amdgpu: Fix errors in function documentation
authorDwaipayan Ray <dwaipayanray1@gmail.com>
Sun, 9 May 2021 14:49:23 +0000 (20:19 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:14:49 +0000 (18:14 -0400)
Fix a couple of syntax errors and removed one excess
parameter in the function documentations which lead
to kernel docs build warning.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dwaipayan Ray <dwaipayanray1@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index a324dc2..b1c57a5 100644 (file)
@@ -321,11 +321,14 @@ static int amdgpu_ras_debugfs_ctrl_parse_data(struct file *f,
  * "disable" requires only the block.
  * "enable" requires the block and error type.
  * "inject" requires the block, error type, address, and value.
+ *
  * The block is one of: umc, sdma, gfx, etc.
  *     see ras_block_string[] for details
+ *
  * The error type is one of: ue, ce, where,
  *     ue is multi-uncorrectable
  *     ce is single-correctable
+ *
  * The sub-block is a the sub-block index, pass 0 if there is no sub-block.
  * The address and value are hexadecimal numbers, leading 0x is optional.
  *