Re: [PATCH v10 01/11] h8300: put bitsperlong.h in uapi
From: Masahiro Yamada
Date: Mon Mar 27 2017 - 01:32:12 EST
Hi Nicolas,
2017-03-14 21:54 GMT+09:00 Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>:
> This header file is exported, thus move it to uapi.
>
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
> -#endif /* __ASM_H8300_BITS_PER_LONG */
> diff --git a/arch/h8300/include/uapi/asm/bitsperlong.h b/arch/h8300/include/uapi/asm/bitsperlong.h
> new file mode 100644
> index 000000000000..e56cf72369b6
> --- /dev/null
> +++ b/arch/h8300/include/uapi/asm/bitsperlong.h
> @@ -0,0 +1,14 @@
> +#ifndef _UAPI_ASM_H8300_BITS_PER_LONG
> +#define _UAPI_ASM_H8300_BITS_PER_LONG
Just a minor comment.
The include guard was originally __ASM_H8300_BITS_PER_LONG.
This will change it into _ASM_H8300_BITS_PER_LONG
(after _UAPI is stripped by headers_install.sh)
I just thought _UAPI__ASM_H8300_BITS_PER_LONG might be even safer,
but I know I am nit-picking. I can apply this as-is.
I leave it to you.
--
Best Regards
Masahiro Yamada