diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-10 09:04:44 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-10 09:04:44 +1100 |
commit | ee407ac983f13ca43022f6695a6e2b0417475333 (patch) | |
tree | d1dd2b6079109748ed61b627f50b353d7c022fbf /hw/nx-rng.c | |
parent | 3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931 (diff) | |
download | skiboot-ee407ac983f13ca43022f6695a6e2b0417475333.zip skiboot-ee407ac983f13ca43022f6695a6e2b0417475333.tar.gz skiboot-ee407ac983f13ca43022f6695a6e2b0417475333.tar.bz2 |
sparse: fix constant is so big it's long in hw/nx-rng.c
hw/nx-rng.c:73:29: warning: constant 0x400000000 is so big it is long
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/nx-rng.c')
-rw-r--r-- | hw/nx-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nx-rng.c b/hw/nx-rng.c index 063848d..f652bb5 100644 --- a/hw/nx-rng.c +++ b/hw/nx-rng.c @@ -70,7 +70,7 @@ void nx_create_rng_node(struct dt_node *node) } rng_len = (u64[]){ 0x1000, /* 4K */ 0x10000, /* 64K */ - 0x400000000, /* 16G*/ + 0x400000000UL, /* 16G*/ 0x100000, /* 1M */ 0x1000000 /* 16M */} [len]; |