mirror of https://gitee.com/openkylin/linux.git
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 <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ab81b5f42
commit
9ae081c66e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue