Re: [PATCH 1/1] fs/udf/file.c: use linux/uaccess.h

From: Jan Kara
Date: Wed Jun 18 2014 - 14:14:57 EST


On Wed 18-06-14 19:38:24, Fabian Frederick wrote:
> Fix checkpatch warning
> WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
>
> Cc: Jan Kara <jack@xxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Thanks. Added to my tree.

Honza

> ---
> fs/udf/file.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/udf/file.c b/fs/udf/file.c
> index d80738f..72b8dae 100644
> --- a/fs/udf/file.c
> +++ b/fs/udf/file.c
> @@ -27,7 +27,7 @@
>
> #include "udfdecl.h"
> #include <linux/fs.h>
> -#include <asm/uaccess.h>
> +#include <linux/uaccess.h>
> #include <linux/kernel.h>
> #include <linux/string.h> /* memset */
> #include <linux/capability.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/