Re: [PATCH 1/1] FS/UDF: use linux/uaccess.h (2)

From: Jan Kara
Date: Tue Jun 24 2014 - 11:53:06 EST


On Fri 20-06-14 21:53:10, Fabian Frederick wrote:
> Fix checkpatch warning
> WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
>
> on 3 more files.
Thanks. I've combined this patch with your previous one for the same
issue.

Honza
>
> Cc: Jan Kara <jack@xxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> ---
> fs/udf/lowlevel.c | 2 +-
> fs/udf/super.c | 2 +-
> fs/udf/symlink.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/udf/lowlevel.c b/fs/udf/lowlevel.c
> index 6583fe9..6ad5a45 100644
> --- a/fs/udf/lowlevel.c
> +++ b/fs/udf/lowlevel.c
> @@ -21,7 +21,7 @@
>
> #include <linux/blkdev.h>
> #include <linux/cdrom.h>
> -#include <asm/uaccess.h>
> +#include <linux/uaccess.h>
>
> #include "udf_sb.h"
>
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 3286db0..813da94 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -63,7 +63,7 @@
> #include "udf_i.h"
>
> #include <linux/init.h>
> -#include <asm/uaccess.h>
> +#include <linux/uaccess.h>
>
> #define VDS_POS_PRIMARY_VOL_DESC 0
> #define VDS_POS_UNALLOC_SPACE_DESC 1
> diff --git a/fs/udf/symlink.c b/fs/udf/symlink.c
> index d7c6dbe..6fb7945 100644
> --- a/fs/udf/symlink.c
> +++ b/fs/udf/symlink.c
> @@ -20,7 +20,7 @@
> */
>
> #include "udfdecl.h"
> -#include <asm/uaccess.h>
> +#include <linux/uaccess.h>
> #include <linux/errno.h>
> #include <linux/fs.h>
> #include <linux/time.h>
> --
> 1.8.4.5
>
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/