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:
parent
f5a954bbf2
commit
1414045725
@ -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.
|
||||
* 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;
|
||||
static char string[150];
|
||||
|
Loading…
Reference in New Issue
Block a user