Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322354 > unrolled thread

[PATCH 1/4] netfilter: ipv4: use linux/uaccess.h

Started byLucas Tanure <tanure@linux.com>
First post2016-01-30 14:20 +0100
Last post2016-01-30 14:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/4] netfilter: ipv4: use linux/uaccess.h Lucas Tanure <tanure@linux.com> - 2016-01-30 14:20 +0100

#1322354 — [PATCH 1/4] netfilter: ipv4: use linux/uaccess.h

FromLucas Tanure <tanure@linux.com>
Date2016-01-30 14:20 +0100
Subject[PATCH 1/4] netfilter: ipv4: use linux/uaccess.h
Message-ID<qWDBw-3n9-23@gated-at.bofh.it>
Fix checkpatch warning
WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>

Signed-off-by: Lucas Tanure <tanure@linux.com>
---
 net/ipv4/netfilter/ip_tables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c
index b99affa..aa0e41e 100644
--- a/net/ipv4/netfilter/ip_tables.c
+++ b/net/ipv4/netfilter/ip_tables.c
@@ -20,7 +20,7 @@
 #include <linux/icmp.h>
 #include <net/ip.h>
 #include <net/compat.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/mutex.h>
 #include <linux/proc_fs.h>
 #include <linux/err.h>
-- 
2.7.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web