public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/scsi/scsi_error.c should #include "scsi_transport_api.h"
@ 2006-11-29 10:04 Adrian Bunk
  2006-11-29 13:16 ` Matthew Wilcox
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2006-11-29 10:04 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, linux-kernel

Every file should #include the headers containing the prototypes for 
its global functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.19-rc6-mm2/drivers/scsi/scsi_error.c.old	2006-11-29 09:58:41.000000000 +0100
+++ linux-2.6.19-rc6-mm2/drivers/scsi/scsi_error.c	2006-11-29 09:58:58.000000000 +0100
@@ -36,6 +36,7 @@
 
 #include "scsi_priv.h"
 #include "scsi_logging.h"
+#include "scsi_transport_api.h"
 
 #define SENSE_TIMEOUT		(10*HZ)
 #define START_UNIT_TIMEOUT	(30*HZ)


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [2.6 patch] drivers/scsi/scsi_error.c should #include "scsi_transport_api.h"
@ 2007-07-29 15:01 Adrian Bunk
  0 siblings, 0 replies; 6+ messages in thread
From: Adrian Bunk @ 2007-07-29 15:01 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, linux-kernel

Every file should #include the headers containing the prototypes for
its global functions (in this case for scsi_schedule_eh()).

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- linux-2.6.23-rc1-mm1/drivers/scsi/scsi_error.c.old	2007-07-28 17:10:48.000000000 +0200
+++ linux-2.6.23-rc1-mm1/drivers/scsi/scsi_error.c	2007-07-28 17:10:51.000000000 +0200
@@ -37,6 +37,7 @@
 
 #include "scsi_priv.h"
 #include "scsi_logging.h"
+#include "scsi_transport_api.h"
 
 #define SENSE_TIMEOUT		(10*HZ)
 


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

end of thread, other threads:[~2007-07-29 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 10:04 [2.6 patch] drivers/scsi/scsi_error.c should #include "scsi_transport_api.h" Adrian Bunk
2006-11-29 13:16 ` Matthew Wilcox
2006-11-29 14:13   ` James Smart
2006-11-29 14:32     ` Matthew Wilcox
2007-01-02 11:11   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2007-07-29 15:01 Adrian Bunk

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