megaraid_sas : megasas_complete_outstanding_ioctls() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 23 Apr 2015 11:03:23 +0000 (16:33 +0530)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 25 May 2015 15:46:29 +0000 (08:46 -0700)
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 <hch@lst.de>

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/megaraid/megaraid_sas_base.c

index 3d311cad8daf59449f7abf456615946948254fbb..67ca6d31f3f5712d418a8e256a2499ee8054f473 100644 (file)
@@ -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;