2008-07-28 00:04:25

by David Miller

[permalink] [raw]
Subject: Build fallout from scsi merge...


>From allmodconfig on sparc64:

drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
make[3]: *** Waiting for unfinished jobs....


2008-07-28 02:59:39

by FUJITA Tomonori

[permalink] [raw]
Subject: Re: Build fallout from scsi merge...

On Sun, 27 Jul 2008 17:04:15 -0700 (PDT)
David Miller <[email protected]> wrote:

>
> From allmodconfig on sparc64:
>
> drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
> drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
> make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
> make[3]: *** Waiting for unfinished jobs....

=
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] qla2xxx: fix msleep compile error

drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Signed-off-by: FUJITA Tomonori <[email protected]>
Cc: Andrew Vasquez <[email protected]>
Cc: [email protected]
---
drivers/scsi/qla2xxx/qla_attr.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index 7a4409a..a319a20 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -8,6 +8,7 @@

#include <linux/kthread.h>
#include <linux/vmalloc.h>
+#include <linux/delay.h>

static int qla24xx_vport_disable(struct fc_vport *, bool);

--
1.5.5.GIT

2008-07-28 13:55:43

by Andrew Vasquez

[permalink] [raw]
Subject: Re: Build fallout from scsi merge...

On Mon, 28 Jul 2008, FUJITA Tomonori wrote:

> From: FUJITA Tomonori <[email protected]>
> Subject: [PATCH] qla2xxx: fix msleep compile error
>
> drivers/scsi/qla2xxx/qla_attr.c: In function 'qla24xx_vport_delete':
> drivers/scsi/qla2xxx/qla_attr.c:1184: error: implicit declaration of function 'msleep'
> make[3]: *** [drivers/scsi/qla2xxx/qla_attr.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
>
> Signed-off-by: FUJITA Tomonori <[email protected]>
> Cc: Andrew Vasquez <[email protected]>
> Cc: [email protected]

Acked-by: Andrew Vasquez <[email protected]>

Tomo, thank you.