Skip to contentSkip to conversation

scsi-netlink: include missing types header

PATCH New Davidlohr Bueso 1 participant 1 message Oct 18, 2010 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi-netlink: include missing types header

scsi netlink: include missing types header

This fixes this warning (found on my latest randconfig test):
scsi_netlink.h:108: found __[us]{8,16,32,64} type without #include <linux/types.h>

I know that this header is already included in linux/netlink.h so I wonder why check_header is complaining about it. If ignorable, please disregard.

---
 include/scsi/scsi_netlink.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/scsi/scsi_netlink.h +1 -1
index 58ce8fe..5cb20cc 100644
@@ -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
Signature · 1 line
1.7.0.4