diff mbox series

[v10,19/31] sbe-p9: endian conversion

Message ID 20191208122312.12837-20-npiggin@gmail.com
State Accepted
Headers show
Series little endian skiboot | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (d75e82dbfbb9443efeb3f9a5921ac23605aab469)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Nicholas Piggin Dec. 8, 2019, 12:23 p.m. UTC
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 hw/sbe-p9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/sbe-p9.c b/hw/sbe-p9.c
index 1b5f29ec1..53f378e18 100644
--- a/hw/sbe-p9.c
+++ b/hw/sbe-p9.c
@@ -123,7 +123,7 @@  static u64 p9_sbe_rreg(u32 chip_id, u64 reg)
 		return 0xffffffff;
 	}
 
-	return be64_to_cpu(data);
+	return data;
 }
 
 static void p9_sbe_reg_dump(u32 chip_id)