quota: fix checkpatch.pl warning by replacing <asm/uaccess.h> with <linux/uaccess.h>
authorJeff Liu <jeff.liu@oracle.com>
Mon, 28 May 2012 15:40:17 +0000 (23:40 +0800)
committerJan Kara <jack@suse.cz>
Mon, 9 Jul 2012 10:03:11 +0000 (12:03 +0200)
checkpatch.pl warns:

"WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>"

Below patch fixes it.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
fs/quota/quota.c

index 10cbe841cb7ecca3a823da92621ec3e614a2be09..0c541dcbdf0757e484bf3f737ef256f595ee274f 100644 (file)
@@ -78,7 +78,7 @@
 #include <linux/quotaops.h>
 #include "../internal.h" /* ugh */
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 /*
  * There are three quota SMP locks. dq_list_lock protects all lists with quotas
index 9a391204ca278e4186300215ef521183af70eb68..639782d5a76fdddebc4178445c08f338024683a5 100644 (file)
@@ -9,7 +9,7 @@
 #include <linux/namei.h>
 #include <linux/slab.h>
 #include <asm/current.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <linux/kernel.h>
 #include <linux/security.h>
 #include <linux/syscalls.h>