mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
@@ -27,7 +27,7 @@ struct user_namespace init_user_ns = {
|
|||||||
.extent[0] = {
|
.extent[0] = {
|
||||||
.first = 0,
|
.first = 0,
|
||||||
.lower_first = 0,
|
.lower_first = 0,
|
||||||
.count = 4294967295,
|
.count = 4294967295U,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.gid_map = {
|
.gid_map = {
|
||||||
@@ -35,7 +35,7 @@ struct user_namespace init_user_ns = {
|
|||||||
.extent[0] = {
|
.extent[0] = {
|
||||||
.first = 0,
|
.first = 0,
|
||||||
.lower_first = 0,
|
.lower_first = 0,
|
||||||
.count = 4294967295,
|
.count = 4294967295U,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
.kref = {
|
.kref = {
|
||||||
|
Reference in New Issue
Block a user