Re: [PATCH] scsi: lpfc: make a couple of functions static

2017-06-12 Thread Martin K. Petersen
Colin, > functions lpfc_nvmet_cleanup_io_context and > lpfc_nvmet_setup_io_context can be made static as they do not need to > be in global scope. > > Cleans up sparse warnings: > "warning: symbol 'lpfc_nvmet_cleanup_io_context' was not declared. >Should it be static?" > "warning: symbol

Re: [PATCH] scsi: lpfc: make a couple of functions static

2017-05-29 Thread James Smart
Patch is fine. Signed-off-by: James Smart -- james On 5/18/2017 2:35 AM, Colin King wrote: From: Colin Ian King functions lpfc_nvmet_cleanup_io_context and lpfc_nvmet_setup_io_context can be made static as they do not need to be in

[PATCH] scsi: lpfc: make a couple of functions static

2017-05-18 Thread Colin King
From: Colin Ian King functions lpfc_nvmet_cleanup_io_context and lpfc_nvmet_setup_io_context can be made static as they do not need to be in global scope. Cleans up sparse warnings: "warning: symbol 'lpfc_nvmet_cleanup_io_context' was not declared. Should it be