Skip to contentSkip to conversation

scsi: initio: make initio_state_7() static

PATCH Applied Chen Zhou 2 participants 2 messages Dec 17, 2019 – Dec 19, 2019 SCSI

lore
Share & tools
lore

Chen Zhou

author
#0 lore raw

PATCH 1/1 scsi: initio: make initio_state_7() static

Fix sparse warning:

drivers/scsi/initio.c:1643:5: warning: symbol 'initio_state_7' was not declared. Should it be static?

---
 drivers/scsi/initio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/initio.c +1 -1
index 41fd64c..1d39628 100644
@@ -1640,7 +1640,7 @@ static int initio_state_6(struct initio_host * host)
  *
  */
 
-int initio_state_7(struct initio_host * host)
+static int initio_state_7(struct initio_host * host)
 {
 	int cnt, i;
 
Signature · 1 line
2.7.4
#1 lore raw

Chen,

Quoted 3 lines

Fix sparse warning:

drivers/scsi/initio.c:1643:5: warning: symbol 'initio_state_7' was not declared. Should it be static?

Applied to 5.6/scsi-queue, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering