aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-09 18:22:19 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-10 08:56:25 +1100
commit3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931 (patch)
tree39c273a662eb76dc88fb6e87c47cb42f33710747
parentec2aeb82d38d37ebdd97f06dd3db5d55a2fe6876 (diff)
downloadskiboot-3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931.zip
skiboot-3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931.tar.gz
skiboot-3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931.tar.bz2
sparse: fix constant is so big warning in hw/xscom.c
hw/xscom.c:425:23: warning: constant 0x221EF04980000000 is so big it is long Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/xscom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xscom.c b/hw/xscom.c
index c8e13be..a7a1705 100644
--- a/hw/xscom.c
+++ b/hw/xscom.c
@@ -422,7 +422,7 @@ int64_t xscom_read_cfam_chipid(uint32_t partid, uint32_t *chip_id)
* something up (Murano DD2.1)
*/
if (chip_quirk(QUIRK_NO_F000F))
- val = 0x221EF04980000000;
+ val = 0x221EF04980000000UL;
else
rc = xscom_read(partid, 0xf000f, &val);