diff mbox series

scsi: isci: make isci_remote_device_wait_for_resume_from_abort() static

Message ID 20200921142724.875048-1-yanaijie@huawei.com
State New
Headers show
Series scsi: isci: make isci_remote_device_wait_for_resume_from_abort() static | expand

Commit Message

Jason Yan Sept. 21, 2020, 2:27 p.m. UTC
This addresses the following sparse warning:

drivers/scsi/isci/remote_device.c:1387:6: warning: symbol
'isci_remote_device_wait_for_resume_from_abort' was not declared. Should
it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/isci/remote_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c
index c3f540b55689..b1276f7e49c8 100644
--- a/drivers/scsi/isci/remote_device.c
+++ b/drivers/scsi/isci/remote_device.c
@@ -1384,7 +1384,7 @@  static bool isci_remote_device_test_resume_done(
 	return done;
 }
 
-void isci_remote_device_wait_for_resume_from_abort(
+static void isci_remote_device_wait_for_resume_from_abort(
 	struct isci_host *ihost,
 	struct isci_remote_device *idev)
 {