Skip to contentSkip to conversation

fix implicit declaration compile warning in qla2xxx

PATCH In review Jesper Juhl 2 participants 3 messages Oct 17, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix implicit declaration compile warning in qla2xxx

Fix warning about implicitly declared function in qla_rscn.c
drivers/scsi/qla2xxx/qla_rscn.c:334: warning: implicit declaration of function `fc_remote_port_unblock'

From: Jesper Juhl <[email protected]>

---

 drivers/scsi/qla2xxx/qla_rscn.c |    1 +
 1 files changed, 1 insertion(+)
drivers/scsi/qla2xxx/qla_rscn.c +1 -0
@@ -17,6 +17,7 @@
  *
  */
 #include "qla_def.h"
+#include <scsi/scsi_transport_fc.h>
 
 /**
  * IO descriptor handle definitions.

/Jesper Juhl

PS.
Please CC me on replies.

#1 lore raw
Quoted 15 lines · Jesper Juhl

Fix warning about implicitly declared function in qla_rscn.c
drivers/scsi/qla2xxx/qla_rscn.c:334: warning: implicit declaration of function `fc_remote_port_unblock'

From: Jesper Juhl <[email protected]>

---

 drivers/scsi/qla2xxx/qla_rscn.c |    1 +
 1 files changed, 1 insertion(+)

drivers/scsi/qla2xxx/qla_rscn.c line 23

Quoted 7 lines
drivers/scsi/qla2xxx/qla_rscn.c +1 -0
@@ -17,6 +17,7 @@
  *
  */
 #include "qla_def.h"
+#include <scsi/scsi_transport_fc.h>
 
 /**
  * IO descriptor handle definitions.

Sent earlier:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112907350209822&w=2

Awaiting inclusion.

Thanks,
Andrew Vasquez

#2 lore raw
Quoted 5 lines · Andrew Vasquez
Quoted 3 lines · Jesper Juhl

Fix warning about implicitly declared function in qla_rscn.c
drivers/scsi/qla2xxx/qla_rscn.c:334: warning: implicit declaration of function `fc_remote_port_unblock'

[snip]

Quoted 5 lines

Sent earlier:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112907350209822&w=2

Hmm, I guess I did a lousy job of searching the archives :(

Quoted 2 lines

Awaiting inclusion.

Great :)

--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html