Skip to content

Commit

Permalink
quota: fix checkpatch.pl warning by replacing <asm/uaccess.h> with <l…
Browse files Browse the repository at this point in the history
…inux/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 <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
pibroch authored and jankara committed Jul 9, 2012
1 parent 8c84bf4 commit f3da931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/quota/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fs/quota/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f3da931

Please sign in to comment.