public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] git scsi misc include fix
@ 2007-10-14  5:35 Paul Jackson
  2007-10-15 23:35 ` James Bottomley
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Jackson @ 2007-10-14  5:35 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox, James Bottomley, Paul Jackson, linux-kernel,
	Andrew Vasquez

From: Paul Jackson <pj@sgi.com>

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@sgi.com>

---

This patch goes after the patch 'git-scsi-misc.patch'

 include/scsi/scsi_eh.h |    1 +
 1 file changed, 1 insertion(+)

--- 2.6.23-mm1.orig/include/scsi/scsi_eh.h	2007-10-13 01:13:26.568876534 -0700
+++ 2.6.23-mm1/include/scsi/scsi_eh.h	2007-10-13 01:31:32.911855338 -0700
@@ -2,6 +2,7 @@
 #define _SCSI_SCSI_EH_H
 
 #include <scsi/scsi_cmnd.h>
+#include <linux/scatterlist.h>
 struct scsi_device;
 struct Scsi_Host;
 

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-16  1:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-14  5:35 [PATCH] git scsi misc include fix Paul Jackson
2007-10-15 23:35 ` James Bottomley
2007-10-15 23:55   ` Andrew Morton
2007-10-16  0:08   ` Paul Jackson
2007-10-16  1:07     ` James Bottomley
2007-10-16  1:24       ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox