summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWangBo <wdjjwb@163.com>2019-03-08 03:26:43 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-08 05:31:59 +0300
commit30ff9ec457e66fcd73567b830aaca21e5833cf84 (patch)
tree82973723bec23df3118faff74db5a3b1b017a1c7
parentb95c4d18d5936c9f2c1a39347d73acb3e523ca24 (diff)
downloadlinux-30ff9ec457e66fcd73567b830aaca21e5833cf84.tar.xz
include/linux/types.h: use "unsigned int" instead of "unsigned"
Use "unsigned int" instead of "unsigned", to make code more clear. Link: http://lkml.kernel.org/r/1551354739-6648-1-git-send-email-wdjjwb@163.com Signed-off-by: WangBo <wang.bo116@zte.com.cn> Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index c2615d6a019e..cc0dbbe551d5 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;