1

scsi: cumana: Declare local function static

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240603172311.1587589-3-bvanassche@acm.org
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Bart Van Assche 2024-06-03 10:23:09 -07:00 committed by Martin K. Petersen
parent f5a954bbf2
commit 1414045725

View File

@ -296,7 +296,7 @@ cumanascsi_2_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp)
* Params : host - driver host structure to return info for. * Params : host - driver host structure to return info for.
* Returns : pointer to a static buffer containing null terminated string. * Returns : pointer to a static buffer containing null terminated string.
*/ */
const char *cumanascsi_2_info(struct Scsi_Host *host) static const char *cumanascsi_2_info(struct Scsi_Host *host)
{ {
struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata; struct cumanascsi2_info *info = (struct cumanascsi2_info *)host->hostdata;
static char string[150]; static char string[150];