[PATCH] Add missing #include for include/scsi/osd_protocol.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

--- 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/
--
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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux