Message ID | 20190413142138.33336-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 7c3f8ca8e4c8ac180021b1c2a5a1f82a490db7db |
Headers | show |
Series | [-next] scsi: megaraid_sas: Make megasas_host_device_list_query() static | expand |
Yue, > 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? Applied to 5.2/scsi-queue. Thanks!
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 59a6546..1ec55ef 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -4647,7 +4647,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) {