Skip to contentSkip to conversation

scsi: fix a header to include linux/types.h

PATCH New [email protected] 1 participant 1 message Jul 28, 2011 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 scsi: fix a header to include linux/types.h

From: Alexander Shishkin <[email protected]>

For headers that get exported to userland and make use of u32 style type names, it is advised to include linux/types.h.

This fixes a headers_check warning.

---

 include/scsi/scsi_netlink.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/scsi/scsi_netlink.h renamed from include/scsi/scsi_netlink.h~scsi-fix-a-header-to-include-linux-typesh +1 -1
diff -puN include/scsi/scsi_netlink.h~scsi-fix-a-header-to-include-linux-typesh include/scsi/scsi_netlink.h
@@ -23,7 +23,7 @@
 #define SCSI_NETLINK_H
 
 #include <linux/netlink.h>
-
+#include <linux/types.h>
 
 /*
  * This file intended to be included by both kernel and user space

_