]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 23:36:09 +0000 (15:36 -0800)
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/benet/be.h

index 07fbd8b3a833fbdceea2131605e94cfc42a3e659..17682757151b3a14a144dde4e267b10bd6b7c7ba 100644 (file)
@@ -246,7 +246,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;