include/linux/types.h: use "unsigned int" instead of "unsigned"
PATCH 1/1 include/linux/types.h: use "unsigned int" instead of "unsigned"
Use "unsigned int" instead of "unsigned" ,it make code more clear.
Signed-off-by WangBo <[email protected]>
--- include/linux/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/types.h +3 -3
@@ -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 ;
Signature · 1 line
2.7.4
Quoted 4 lines · WangBo
Use "unsigned int" instead of "unsigned" ,it make code more clear.
Signed-off-by WangBo <[email protected]>
Reviewed-by Masahiro Yamada <[email protected]>
Quoted 25 lines
--- include/linux/types.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)include/linux/types.h +3
-4@@ -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
Signature · 2 lines
Best Regards Masahiro Yamada