Skip to content

Commit 30ff9ec

Browse files
wdjjwbtorvalds
authored andcommitted
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>
1 parent b95c4d1 commit 30ff9ec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎include/linux/types.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ typedef u64 dma_addr_t;
155155
typedef u32 dma_addr_t;
156156
#endif
157157

158-
typedef unsigned __bitwise gfp_t;
159-
typedef unsigned __bitwise slab_flags_t;
160-
typedef unsigned __bitwise fmode_t;
158+
typedef unsigned int __bitwise gfp_t;
159+
typedef unsigned int __bitwise slab_flags_t;
160+
typedef unsigned int __bitwise fmode_t;
161161

162162
#ifdef CONFIG_PHYS_ADDR_T_64BIT
163163
typedef u64 phys_addr_t;

0 commit comments

Comments
 (0)