diff mbox series

[v8,18/28] sbe-p9: endian conversion

Message ID 20191128062442.20690-19-npiggin@gmail.com
State Superseded
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 Nov. 28, 2019, 6:24 a.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)