From 9ae081c66eb8ba0fdb38cca180952782a8744da4 Mon Sep 17 00:00:00 2001 From: Somnath Kotur Date: Fri, 30 Sep 2011 07:23:35 +0000 Subject: [PATCH] be2net: Change the data type of the 'on die temperature' stat. This was showing up as junk value on PPC /Big endian machines since it was marked as a byte. Signed-off-by: Somnath Kotur Signed-off-by: David S. Miller --- drivers/net/ethernet/emulex/benet/be.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index c5f05163bf22..894f1a91d9c9 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -245,7 +245,7 @@ struct be_rx_obj { }; struct be_drv_stats { - u8 be_on_die_temperature; + u32 be_on_die_temperature; u32 tx_events; u32 eth_red_drops; u32 rx_drops_no_pbuf; -- 2.20.1