summaryrefslogtreecommitdiffstats
path: root/hw/xscom.c
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 /hw/xscom.c
parentec2aeb82d38d37ebdd97f06dd3db5d55a2fe6876 (diff)
downloadblackbird-skiboot-3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931.tar.gz
blackbird-skiboot-3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931.zip
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>
Diffstat (limited to 'hw/xscom.c')
-rw-r--r--hw/xscom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xscom.c b/hw/xscom.c
index c8e13bec..a7a1705a 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);
OpenPOWER on IntegriCloud