diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-10 11:53:25 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-10 11:53:25 +1100 |
commit | 54104305325788ec01695d4f58fb7379d8956a5d (patch) | |
tree | beb491926adf61b44f6b7e14ada618e1a3bad51a /hdata | |
parent | 152d5c0376b47ce433f58bf9305c52fbe920ccaf (diff) | |
download | skiboot-54104305325788ec01695d4f58fb7379d8956a5d.zip skiboot-54104305325788ec01695d4f58fb7379d8956a5d.tar.gz skiboot-54104305325788ec01695d4f58fb7379d8956a5d.tar.bz2 |
sparse: fix beint32_t degrades to int in hdata/pcia.c
hdata/pcia.c:32:37: warning: restricted beint32_t degrades to integer
No resulting code change for skiboot as BE
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata')
-rw-r--r-- | hdata/pcia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/pcia.c b/hdata/pcia.c index 4495fbe..8d11437 100644 --- a/hdata/pcia.c +++ b/hdata/pcia.c @@ -29,7 +29,7 @@ static unsigned int pcia_index(const void *pcia) { return (pcia - (void *)get_hdif(&spira.ntuples.pcia, "SPPCIA")) - / spira.ntuples.pcia.alloc_len; + / be32_to_cpu(spira.ntuples.pcia.alloc_len); } static const struct sppcia_cpu_thread *find_tada(const void *pcia, |