2.6.23-git8 missing include file
Hi,
The build fails with following error
CC drivers/usb/storage/scsiglue.o CC drivers/usb/storage/protocol.o CC drivers/usb/storage/transport.o
In file included from drivers/usb/storage/transport.c:53:include/scsi/scsi_eh.h:79: error: field 'sense_sgl' has incomplete type make[3]: *** [drivers/usb/storage/transport.o] Error 1 make[2]: *** [drivers/usb/storage] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
This patch fixes the build failure
include/scsi/~scsi_cmnd.h 2007-10-16 10:20:32.000000000 +0530 renamed from include/scsi/scsi_cmnd.h 2007-10-16 09:58:30.000000000 +0530 +1 -0
@@ -5,6 +5,7 @@ #include <linux/list.h> #include <linux/types.h> #include <linux/timer.h> +#include <linux/scatterlist.h> struct request; struct scatterlist;
Signature · 4 lines
Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.
Re: 2.6.23-git8 missing include file - [Resending the patch]
Quoted 13 lines · Kamalesh Babulal
Hi,
The build fails with following error
CC drivers/usb/storage/scsiglue.o CC drivers/usb/storage/protocol.o CC drivers/usb/storage/transport.oIn file included from
drivers/usb/storage/transport.c:53:include/scsi/scsi_eh.h:79: error: field 'sense_sgl' has incomplete type make[3]: *** [drivers/usb/storage/transport.o] Error 1 make[2]: *** [drivers/usb/storage] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
<snip>
--
include/scsi/~scsi_cmnd.h 2007-10-16 10:20:32.000000000 +0530 renamed from include/scsi/scsi_cmnd.h 2007-10-16 09:58:30.000000000 +0530 +1 -0
@@ -5,6 +5,7 @@ #include <linux/list.h> #include <linux/types.h> #include <linux/timer.h> +#include <linux/scatterlist.h> struct request; struct scatterlist;
Signature · 4 lines
Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL.
Re: 2.6.23-git8 missing include file - [Resending the patch]
Quoted 23 lines · Kamalesh Babulal
Quoted 13 lines · Kamalesh Babulal
Hi,
The build fails with following error
CC drivers/usb/storage/scsiglue.o CC drivers/usb/storage/protocol.o CC drivers/usb/storage/transport.oIn file included from
drivers/usb/storage/transport.c:53:include/scsi/scsi_eh.h:79: error: field 'sense_sgl' has incomplete type make[3]: *** [drivers/usb/storage/transport.o] Error 1 make[2]: *** [drivers/usb/storage] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2<snip>
Signed-off-by Kamalesh Babulal <[email protected]>--
include/scsi/~scsi_cmnd.h 2007-10-16 10:20:32.000000000 +0530 line 11
Quoted 7 lines
include/scsi/~scsi_cmnd.h 2007-10-16 10:20:32.000000000 +0530 renamed from include/scsi/scsi_cmnd.h 2007-10-16 09:58:30.000000000 +0530 +1
-0@@ -5,6 +5,7 @@ #include <linux/list.h> #include <linux/types.h> #include <linux/timer.h> +#include <linux/scatterlist.h> struct request; struct scatterlist;
This was already fixed here:
http://www.spinics.net/lists/linux-scsi/msg20177.html
Thanks