aboutsummaryrefslogtreecommitdiff
path: root/include/pau.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2024-11-10 22:56:35 +1000
committerReza Arbab <arbab@linux.ibm.com>2025-01-08 09:20:35 -0600
commitee285a49a73fac189a40df6603a9e127d0b3c810 (patch)
treef89fa6b74a8493fae9c2f6e32e0f73e44f8ccb37 /include/pau.h
parentea580019ee135abeb096a945eda6f0bf5f5207a3 (diff)
downloadskiboot-ee285a49a73fac189a40df6603a9e127d0b3c810.zip
skiboot-ee285a49a73fac189a40df6603a9e127d0b3c810.tar.gz
skiboot-ee285a49a73fac189a40df6603a9e127d0b3c810.tar.bz2
npu/pau: endian fixes
Add endian annotations to NPU OPAL APIs, and fix warnings and bugs reported by sparse. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'include/pau.h')
-rw-r--r--include/pau.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pau.h b/include/pau.h
index 4a6087c..8d5e320 100644
--- a/include/pau.h
+++ b/include/pau.h
@@ -211,7 +211,7 @@ int64_t pau_opencapi_spa_clear_cache(struct phb *phb,
int64_t pau_opencapi_tl_set(struct phb *phb, uint32_t __unused bdfn,
long capabilities, char *rate_buf);
int64_t pau_opencapi_mem_alloc(struct phb *phb, uint32_t __unused bdfn,
- uint64_t size, uint64_t *bar);
+ uint64_t size, __be64 *bar);
int64_t pau_opencapi_mem_release(struct phb *phb, uint32_t __unused bdfn);
/* PHY */