scsi: megaraid_sas: Make megasas_host_device_list_query() static
authorYueHaibing <yuehaibing@huawei.com>
Sat, 13 Apr 2019 14:21:38 +0000 (22:21 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 16 Apr 2019 02:20:16 +0000 (22:20 -0400)
Fix sparse warning:

drivers/scsi/megaraid/megaraid_sas_base.c:4652:1: warning:
 symbol 'megasas_host_device_list_query' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c

index 293f5cf524d7a3918f7151661dc6fae0af8da26e..db664d9ad31db8dc28388160b74e79ce7c402749 100644 (file)
@@ -4648,7 +4648,7 @@ megasas_ld_list_query(struct megasas_instance *instance, u8 query_type)
  * Return:                     0 if DCMD succeeded
  *                              non-zero if failed
  */
-int
+static int
 megasas_host_device_list_query(struct megasas_instance *instance,
                               bool is_probe)
 {