Skip to content

Commit

Permalink
be2net: Change the data type of the 'on die temperature' stat.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Somnath Kotur authored and David S. Miller committed Oct 3, 2011
1 parent 3ab81b5 commit 9ae081c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/emulex/benet/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9ae081c

Please sign in to comment.