Re: [PATCH][scsi-next] scsi: mpt3sas: make function _get_st_from_smid static

2018-01-16 Thread Martin K. Petersen
Colin, > The function _get_st_from_smid is local to the source and does > not need to be in global scope, so make it static. Applied to 4.16/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH][scsi-next] scsi: mpt3sas: make function _get_st_from_smid static

2018-01-11 Thread Colin King
From: Colin Ian King The function _get_st_from_smid is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol '_get_st_from_smid' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/scsi/mpt3sas/mpt3sas_bas