lkml.org 
[lkml]   [2010]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] scsi-netlink: include missing types header
From
Date
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.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
include/scsi/scsi_netlink.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/scsi/scsi_netlink.h b/include/scsi/scsi_netlink.h
index 58ce8fe..5cb20cc 100644
--- a/include/scsi/scsi_netlink.h
+++ b/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
--
1.7.0.4




\
 
 \ /
  Last update: 2010-10-18 18:29    [W:0.030 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site