summaryrefslogtreecommitdiff
path: root/drivers/staging/octeon/octeon-stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/octeon/octeon-stubs.h')
-rw-r--r--drivers/staging/octeon/octeon-stubs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index a4ac3bfb62a8..b78ce9eaab85 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -1202,7 +1202,7 @@ static inline int cvmx_wqe_get_grp(cvmx_wqe_t *work)
static inline void *cvmx_phys_to_ptr(uint64_t physical_address)
{
- return (void *)(physical_address);
+ return (void *)(uintptr_t)(physical_address);
}
static inline uint64_t cvmx_ptr_to_phys(void *ptr)