diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-09-28 16:40:38 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-10-02 21:59:33 -0500 |
commit | 39b1d9a787326a6452f15ac94f19b24d009a63a6 (patch) | |
tree | 68a3d5b7b7cd524018fae6362263132f87afe007 /hdata | |
parent | ec6e509a0bb6b0f6117ebc3950247c6e16c90e79 (diff) | |
download | skiboot-39b1d9a787326a6452f15ac94f19b24d009a63a6.zip skiboot-39b1d9a787326a6452f15ac94f19b24d009a63a6.tar.gz skiboot-39b1d9a787326a6452f15ac94f19b24d009a63a6.tar.bz2 |
hdata/spira: silence 'so big is unsigned long' sparse warnings
hdata/spira.c:1401:17: warning: constant 0x8000000009010c3f is so big it is unsigned long
hdata/spira.c:1401:17: warning: constant 0x800000000c010c3f is so big it is unsigned long
hdata/spira.c:1401:17: warning: constant 0x8000000009010c3f is so big it is unsigned long
hdata/spira.c:1401:17: warning: constant 0x800000000c010c3f is so big it is unsigned long
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/spira.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hdata/spira.c b/hdata/spira.c index a142188..a153fe0 100644 --- a/hdata/spira.c +++ b/hdata/spira.c @@ -1322,8 +1322,8 @@ static void add_stop_levels(void) #define NPU_BASE 0x5011000 #define NPU_SIZE 0x2c -#define NPU_INDIRECT0 0x8000000009010c3f -#define NPU_INDIRECT1 0x800000000c010c3f +#define NPU_INDIRECT0 0x8000000009010c3fULL +#define NPU_INDIRECT1 0x800000000c010c3fULL static void add_npu(struct dt_node *xscom, const struct HDIF_array_hdr *links, int npu_index, int phb_index) |