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

scsi: aacraid: Fix a few incorrectly named functions

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

 drivers/scsi/aacraid/aachba.c:796: warning: expecting prototype for aac_probe_container(). Prototype was for aac_probe_container_callback1() instead
 drivers/scsi/aacraid/aachba.c:850: warning: expecting prototype for InqStrCopy(). Prototype was for inqstrcpy() instead
 drivers/scsi/aacraid/aachba.c:1814: warning: expecting prototype for Process topology change(). Prototype was for aac_get_safw_ciss_luns() instead

Link: https://lore.kernel.org/r/20210303144631.3175331-8-lee.jones@linaro.org
Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.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 577c65b0
...@@ -786,8 +786,8 @@ static int _aac_probe_container(struct scsi_cmnd * scsicmd, int (*callback)(stru ...@@ -786,8 +786,8 @@ static int _aac_probe_container(struct scsi_cmnd * scsicmd, int (*callback)(stru
} }
/** /**
* aac_probe_container - query a logical volume * aac_probe_container_callback1 - query a logical volume
* @scsicmd: the scsi command block * @scsicmd: the scsi command block
* *
* Queries the controller about the given volume. The volume information * Queries the controller about the given volume. The volume information
* is updated in the struct fsa_dev_info structure rather than returned. * is updated in the struct fsa_dev_info structure rather than returned.
...@@ -838,7 +838,7 @@ struct scsi_inq { ...@@ -838,7 +838,7 @@ struct scsi_inq {
}; };
/** /**
* InqStrCopy - string merge * inqstrcpy - string merge
* @a: string to copy from * @a: string to copy from
* @b: string to copy to * @b: string to copy to
* *
...@@ -1804,7 +1804,7 @@ static inline void aac_free_safw_ciss_luns(struct aac_dev *dev) ...@@ -1804,7 +1804,7 @@ static inline void aac_free_safw_ciss_luns(struct aac_dev *dev)
} }
/** /**
* aac_get_safw_ciss_luns() Process topology change * aac_get_safw_ciss_luns() - Process topology change
* @dev: aac_dev structure * @dev: aac_dev structure
* *
* Execute a CISS REPORT PHYS LUNS and process the results into * Execute a CISS REPORT PHYS LUNS and process the results into
......
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