aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-05-19 17:44:06 -0400
committerEric W. Biederman <ebiederm@xmission.com>2012-05-19 17:44:40 -0400
commit4b06a81f1daee668fbd6de85557bfb36dd36078f (patch)
tree5c5440d2abc6e279db81a0b9067d2fd54bcbbc10 /kernel/user.c
parent8ca937a668d4be0b0c89c4fc9a912a5885ac06fe (diff)
userns: Silence silly gcc warning.
On 32bit builds gcc says: kernel/user.c:30:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] kernel/user.c:38:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default] Silence gcc by changing the constant 4294967295 to 4294967295U. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/user.c b/kernel/user.c
index f9e420e36699..b815fefbe76f 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -27,7 +27,7 @@ struct user_namespace init_user_ns = {
27 .extent[0] = { 27 .extent[0] = {
28 .first = 0, 28 .first = 0,
29 .lower_first = 0, 29 .lower_first = 0,
30 .count = 4294967295, 30 .count = 4294967295U,
31 }, 31 },
32 }, 32 },
33 .gid_map = { 33 .gid_map = {
@@ -35,7 +35,7 @@ struct user_namespace init_user_ns = {
35 .extent[0] = { 35 .extent[0] = {
36 .first = 0, 36 .first = 0,
37 .lower_first = 0, 37 .lower_first = 0,
38 .count = 4294967295, 38 .count = 4294967295U,
39 }, 39 },
40 }, 40 },
41 .kref = { 41 .kref = {