All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned"
@ 2019-02-28 11:52 WangBo
  2019-02-28 14:39 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: WangBo @ 2019-02-28 11:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, yamada.masahiro, paulmck, wang.bo116

Use "unsigned int" instead of  "unsigned" ,it make code more clear.

Signed-off-by: WangBo <wang.bo116@zte.com.cn>
---
 include/linux/types.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/types.h b/include/linux/types.h
index c2615d6..cc0dbbe 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -155,9 +155,9 @@ typedef u64 dma_addr_t;
 typedef u32 dma_addr_t;
 #endif
 
-typedef unsigned __bitwise gfp_t;
-typedef unsigned __bitwise slab_flags_t;
-typedef unsigned __bitwise fmode_t;
+typedef unsigned int __bitwise gfp_t;
+typedef unsigned int __bitwise slab_flags_t;
+typedef unsigned int __bitwise fmode_t;
 
 #ifdef CONFIG_PHYS_ADDR_T_64BIT
 typedef u64 phys_addr_t;
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned"
  2019-02-28 11:52 [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned" WangBo
@ 2019-02-28 14:39 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2019-02-28 14:39 UTC (permalink / raw)
  To: WangBo
  Cc: Linux Kernel Mailing List, Andrew Morton, Paul E . McKenney, wang.bo116

On Thu, Feb 28, 2019 at 9:21 PM WangBo <wdjjwb@163.com> wrote:
>
> Use "unsigned int" instead of  "unsigned" ,it make code more clear.
>
> Signed-off-by: WangBo <wang.bo116@zte.com.cn>

Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>



> ---
>  include/linux/types.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/linux/types.h b/include/linux/types.h
> index c2615d6..cc0dbbe 100644
> --- a/include/linux/types.h
> +++ b/include/linux/types.h
> @@ -155,9 +155,9 @@ typedef u64 dma_addr_t;
>  typedef u32 dma_addr_t;
>  #endif
>
> -typedef unsigned __bitwise gfp_t;
> -typedef unsigned __bitwise slab_flags_t;
> -typedef unsigned __bitwise fmode_t;
> +typedef unsigned int __bitwise gfp_t;
> +typedef unsigned int __bitwise slab_flags_t;
> +typedef unsigned int __bitwise fmode_t;
>
>  #ifdef CONFIG_PHYS_ADDR_T_64BIT
>  typedef u64 phys_addr_t;
> --
> 2.7.4
>
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-28 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28 11:52 [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned" WangBo
2019-02-28 14:39 ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.