From: kbuild test robot Date: Thu, 23 Apr 2015 11:03:23 +0000 (+0530) Subject: megaraid_sas : megasas_complete_outstanding_ioctls() can be static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6a6981fea3b8a6e6ab6a533991e474270602b9e1;p=deliverable%2Flinux.git megaraid_sas : megasas_complete_outstanding_ioctls() can be static drivers/scsi/megaraid/megaraid_sas_base.c:1701:6: sparse: symbol 'megasas_complete_outstanding_ioctls' was not declared. Should it be static? From: Christoph Hellwig Signed-off-by: Fengguang Wu Signed-off-by: Christoph Hellwig Signed-off-by: Sumit Saxena Reviewed-by: Hannes Reinecke Reviewed-by: Tomas Henzl Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 3d311cad8daf..67ca6d31f3f5 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -1685,7 +1685,7 @@ static int megasas_slave_alloc(struct scsi_device *sdev) * @instance: Adapter soft state * */ -void megasas_complete_outstanding_ioctls(struct megasas_instance *instance) +static void megasas_complete_outstanding_ioctls(struct megasas_instance *instance) { int i; struct megasas_cmd *cmd_mfi;