Messages in this thread Patch in this message | | | Date | Thu, 24 Dec 2009 11:54:57 +1100 | From | Stephen Rothwell <> | Subject | linux-next: origin tree build failure |
| |
Hi all,
Today's linux-next build (powerpc allyesconfig) failed like this:
In file included from drivers/scsi/ibmvscsi/ibmvstgt.c:30: include/scsi/libsrp.h:24: error: field 'queue' has incomplete type
Caused by commit 45465487897a1c6d508b14b904dc5777f7ec7e04 ("kfifo: move struct kfifo in place").
I added this patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Thu, 24 Dec 2009 11:44:28 +1100 Subject: [PATCH] kfifo: include linux/fifo.h in libsrp.h for definition of stuct kfifo
This fixes this compiler error:
In file included from drivers/scsi/ibmvscsi/ibmvstgt.c:30: include/scsi/libsrp.h:24: error: field 'queue' has incomplete type
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- include/scsi/libsrp.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/scsi/libsrp.h b/include/scsi/libsrp.h index 07e3add..f4105c9 100644 --- a/include/scsi/libsrp.h +++ b/include/scsi/libsrp.h @@ -2,6 +2,7 @@ #define __LIBSRP_H__ #include <linux/list.h> +#include <linux/kfifo.h> #include <scsi/scsi_cmnd.h> #include <scsi/scsi_host.h> #include <scsi/srp.h> -- 1.6.5.4
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
| |