From: WangBo <wdjjwb@163.com>
To: linux-kernel@vger.kernel.org
Cc: akpm@linux-foundation.org, yamada.masahiro@socionext.com,
paulmck@linux.ibm.com, wang.bo116@zte.com.cn
Subject: [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned"
Date: Thu, 28 Feb 2019 19:52:19 +0800 [thread overview]
Message-ID: <1551354739-6648-1-git-send-email-wdjjwb@163.com> (raw)
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
next reply other threads:[~2019-02-28 11:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 11:52 WangBo [this message]
2019-02-28 14:39 ` [PATCH] include/linux/types.h: use "unsigned int" instead of "unsigned" Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1551354739-6648-1-git-send-email-wdjjwb@163.com \
--to=wdjjwb@163.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulmck@linux.ibm.com \
--cc=wang.bo116@zte.com.cn \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.