Commit a690baa4 authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

scsi: cxlflash: Fix some misnaming related doc-rot

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/cxlflash/vlun.c:48: warning: Function parameter or member 'release' not described in 'marshal_clone_to_rele'
 drivers/scsi/cxlflash/vlun.c:48: warning: Excess function parameter 'rele' description in 'marshal_clone_to_rele'
 drivers/scsi/cxlflash/vlun.c:238: warning: Function parameter or member 'bali' not described in 'validate_alloc'
 drivers/scsi/cxlflash/vlun.c:238: warning: Excess function parameter 'ba_lun_info' description in 'validate_alloc'
 drivers/scsi/cxlflash/vlun.c:308: warning: Function parameter or member 'to_clone' not described in 'ba_clone'
 drivers/scsi/cxlflash/vlun.c:308: warning: Excess function parameter 'to_free' description in 'ba_clone'
 drivers/scsi/cxlflash/vlun.c:369: warning: Function parameter or member 'lli' not described in 'init_vlun'
 drivers/scsi/cxlflash/vlun.c:369: warning: Excess function parameter 'lun_info' description in 'init_vlun'

Link: https://lore.kernel.org/r/20210317091230.2912389-37-lee.jones@linaro.org
Cc: "Manoj N. Kumar" <manoj@linux.ibm.com>
Cc: "Matthew R. Ochs" <mrochs@linux.ibm.com>
Cc: Uma Krishnan <ukrishn@linux.ibm.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 32b3edfd
...@@ -41,7 +41,7 @@ static void marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, ...@@ -41,7 +41,7 @@ static void marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt,
/** /**
* marshal_clone_to_rele() - translate clone to release structure * marshal_clone_to_rele() - translate clone to release structure
* @clone: Source structure from which to translate/copy. * @clone: Source structure from which to translate/copy.
* @rele: Destination structure for the translate/copy. * @release: Destination structure for the translate/copy.
*/ */
static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone, static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone,
struct dk_cxlflash_release *release) struct dk_cxlflash_release *release)
...@@ -229,7 +229,7 @@ static u64 ba_alloc(struct ba_lun *ba_lun) ...@@ -229,7 +229,7 @@ static u64 ba_alloc(struct ba_lun *ba_lun)
/** /**
* validate_alloc() - validates the specified block has been allocated * validate_alloc() - validates the specified block has been allocated
* @ba_lun_info: LUN info owning the block allocator. * @bali: LUN info owning the block allocator.
* @aun: Block to validate. * @aun: Block to validate.
* *
* Return: 0 on success, -1 on failure * Return: 0 on success, -1 on failure
...@@ -300,7 +300,7 @@ static int ba_free(struct ba_lun *ba_lun, u64 to_free) ...@@ -300,7 +300,7 @@ static int ba_free(struct ba_lun *ba_lun, u64 to_free)
/** /**
* ba_clone() - Clone a chunk of the block allocation table * ba_clone() - Clone a chunk of the block allocation table
* @ba_lun: Block allocator from which to allocate a block. * @ba_lun: Block allocator from which to allocate a block.
* @to_free: Block to free. * @to_clone: Block to clone.
* *
* Return: 0 on success, -1 on failure * Return: 0 on success, -1 on failure
*/ */
...@@ -361,7 +361,7 @@ void cxlflash_ba_terminate(struct ba_lun *ba_lun) ...@@ -361,7 +361,7 @@ void cxlflash_ba_terminate(struct ba_lun *ba_lun)
/** /**
* init_vlun() - initializes a LUN for virtual use * init_vlun() - initializes a LUN for virtual use
* @lun_info: LUN information structure that owns the block allocator. * @lli: LUN information structure that owns the block allocator.
* *
* Return: 0 on success, -errno on failure * Return: 0 on success, -errno on failure
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment