Re: [PATCH 1/1] net: e1000: do not use uninitalized variable.

2016-07-31 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 11:30:58 +0200 > phy_data has to be set to zero to avoid undefined > behavior. In your opinion. phy_data is only used in conditions where it has been initialized in this function. Therefore, please read the function carefully instead of just hav

[PATCH 1/1] net: e1000: do not use uninitalized variable.

2016-07-31 Thread Heinrich Schuchardt
phy_data has to be set to zero to avoid undefined behavior. Signed-off-by: Heinrich Schuchardt --- drivers/net/ethernet/intel/e1000/e1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e1000/e1000_hw.c b/drivers/net/ethernet/intel/e1000/e1000