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

scsi: isci: task: Demote non-conformant header and remove superfluous param

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

 drivers/scsi/isci/task.c:383: warning: Function parameter or member 'isci_host' not described in 'isci_task_send_lu_reset_sas'
 drivers/scsi/isci/task.c:383: warning: Function parameter or member 'isci_device' not described in 'isci_task_send_lu_reset_sas'
 drivers/scsi/isci/task.c:677: warning: Excess function parameter 'lun' description in 'isci_task_query_task'

Link: https://lore.kernel.org/r/20210317091230.2912389-23-lee.jones@linaro.org
Cc: Artur Paszkiewicz <artur.paszkiewicz@intel.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 44b7ca96
...@@ -369,7 +369,7 @@ static void isci_task_build_abort_task_tmf(struct isci_tmf *tmf, ...@@ -369,7 +369,7 @@ static void isci_task_build_abort_task_tmf(struct isci_tmf *tmf,
tmf->io_tag = old_request->io_tag; tmf->io_tag = old_request->io_tag;
} }
/** /*
* isci_task_send_lu_reset_sas() - This function is called by of the SAS Domain * isci_task_send_lu_reset_sas() - This function is called by of the SAS Domain
* Template functions. * Template functions.
* @lun: This parameter specifies the lun to be reset. * @lun: This parameter specifies the lun to be reset.
...@@ -668,7 +668,6 @@ int isci_task_clear_task_set( ...@@ -668,7 +668,6 @@ int isci_task_clear_task_set(
* returned, libsas turns this into a LUN reset; when FUNC_FAILED is * returned, libsas turns this into a LUN reset; when FUNC_FAILED is
* returned, libsas will turn this into a target reset * returned, libsas will turn this into a target reset
* @task: This parameter specifies the sas task being queried. * @task: This parameter specifies the sas task being queried.
* @lun: This parameter specifies the lun associated with this request.
* *
* status, zero indicates success. * status, zero indicates success.
*/ */
......
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