public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add missing #include for include/scsi/osd_protocol.h
@ 2009-10-31  9:33 Martin Michlmayr
  2009-11-01 10:15 ` Boaz Harrosh
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2009-10-31  9:33 UTC (permalink / raw)
  To: Boaz Harrosh, James Bottomley; +Cc: linux-scsi

include/scsi/osd_protocol.h is missing an #include, leading to:
| include/scsi/osd_protocol.h:277: error: implicit declaration of function '__constant_cpu_to_be16'
| include/scsi/osd_protocol.h:362: error: implicit declaration of function 'ALIGN'

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

--- a/include/scsi/osd_protocol.h	2009-10-31 09:19:28.000000000 +0000
+++ b/include/scsi/osd_protocol.h	2009-10-31 09:27:42.000000000 +0000
@@ -17,6 +17,7 @@
 #define __OSD_PROTOCOL_H__
 
 #include <linux/types.h>
+#include <linux/kernel.h>
 #include <asm/unaligned.h>
 #include <scsi/scsi.h>
 

-- 
Martin Michlmayr
http://www.cyrius.com/

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

end of thread, other threads:[~2009-11-01 13:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-31  9:33 [PATCH] Add missing #include for include/scsi/osd_protocol.h Martin Michlmayr
2009-11-01 10:15 ` Boaz Harrosh
2009-11-01 10:54   ` Martin Michlmayr
2009-11-01 11:25     ` Boaz Harrosh
2009-11-01 11:52       ` Stephen Rothwell
2009-11-01 13:11         ` Boaz Harrosh

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