Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

quota: fix checkpatch.pl warning by replacing <asm/uaccess.h> with <linux/uaccess.h>

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>

authored by

Jeff Liu and committed by
Jan Kara
f3da9310 8c84bf41

+2 -2
+1 -1
fs/quota/dquot.c
··· 78 78 #include <linux/quotaops.h> 79 79 #include "../internal.h" /* ugh */ 80 80 81 - #include <asm/uaccess.h> 81 + #include <linux/uaccess.h> 82 82 83 83 /* 84 84 * There are three quota SMP locks. dq_list_lock protects all lists with quotas
+1 -1
fs/quota/quota.c
··· 9 9 #include <linux/namei.h> 10 10 #include <linux/slab.h> 11 11 #include <asm/current.h> 12 - #include <asm/uaccess.h> 12 + #include <linux/uaccess.h> 13 13 #include <linux/kernel.h> 14 14 #include <linux/security.h> 15 15 #include <linux/syscalls.h>