* [PATCH] scsi: isci: make isci_remote_device_wait_for_resume_from_abort() static
@ 2020-09-21 14:27 Jason Yan
0 siblings, 0 replies; only message in thread
From: Jason Yan @ 2020-09-21 14:27 UTC (permalink / raw)
To: intel-linux-scu, artur.paszkiewicz, jejb, martin.petersen, linux-scsi
Cc: Jason Yan, Hulk Robot
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 --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)
{
--
2.25.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-21 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 14:27 [PATCH] scsi: isci: make isci_remote_device_wait_for_resume_from_abort() static Jason Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).