On Tue, 16 Oct 2007 14:28:20 -0700 akpm@xxxxxxxxxxxxxxxxxxxx wrote: > From: Paul Jackson <pj@xxxxxxx> > > The added line in scsi_eh.h: > struct scatterlist sense_sgl; > fails to compile, with the error: > field 'sense_sgl' has incomplete type > unless scatterlist.h happens to be included > somehow already ... which it isn't always. > > So include scatterlist.h in scsi_eh.h directly. > > Signed-off-by: Paul Jackson <pj@xxxxxxx> > Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx> > Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > --- > > include/scsi/scsi_eh.h | 1 + > 1 file changed, 1 insertion(+) > > diff -puN include/scsi/scsi_eh.h~git-scsi-misc-include-fix include/scsi/scsi_eh.h > --- a/include/scsi/scsi_eh.h~git-scsi-misc-include-fix > +++ a/include/scsi/scsi_eh.h > @@ -4,6 +4,7 @@ > #include <linux/scatterlist.h> > > #include <scsi/scsi_cmnd.h> > +#include <linux/scatterlist.h> > struct scsi_device; > struct Scsi_Host; It's 3 lines above the patch line.... --- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html