be2net: Change the data type of the 'on die temperature' stat.
authorSomnath Kotur <somnath.kotur@emulex.com>
Fri, 30 Sep 2011 07:23:35 +0000 (07:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2011 16:17:32 +0000 (12:17 -0400)
This was showing up as junk value on PPC /Big endian machines since
it was marked as a byte.

Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h

index c5f05163bf22d7e4e1b712e96746c61978983701..894f1a91d9c9faf62797523309aea5528118c38e 100644 (file)
@@ -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;