2005-10-17 17:56:24

by Jesper Juhl

[permalink] [raw]
Subject: [PATCH] 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]>
Signed-off-by: Jesper Juhl <[email protected]>
---

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

--- linux-2.6.14-rc4-mm1-orig/drivers/scsi/qla2xxx/qla_rscn.c 2005-10-11 22:41:20.000000000 +0200
+++ linux-2.6.14-rc4-mm1/drivers/scsi/qla2xxx/qla_rscn.c 2005-10-17 19:53:50.000000000 +0200
@@ -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.



2005-10-17 18:00:33

by Andrew Vasquez

[permalink] [raw]
Subject: Re: [PATCH] fix implicit declaration compile warning in qla2xxx

On Mon, 17 Oct 2005, Jesper Juhl wrote:

> 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]>
> Signed-off-by: Jesper Juhl <[email protected]>
> ---
>
> drivers/scsi/qla2xxx/qla_rscn.c | 1 +
> 1 files changed, 1 insertion(+)
>
> --- linux-2.6.14-rc4-mm1-orig/drivers/scsi/qla2xxx/qla_rscn.c 2005-10-11 22:41:20.000000000 +0200
> +++ linux-2.6.14-rc4-mm1/drivers/scsi/qla2xxx/qla_rscn.c 2005-10-17 19:53:50.000000000 +0200
> @@ -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

2005-10-17 18:03:11

by Jesper Juhl

[permalink] [raw]
Subject: Re: [PATCH] fix implicit declaration compile warning in qla2xxx

On 10/17/05, Andrew Vasquez <[email protected]> wrote:
> On Mon, 17 Oct 2005, Jesper Juhl wrote:
>
> > 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]
>
> 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 :(


> 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