[Intel-wired-lan] [PATCH 1/1] net: e1000: do not use uninitalized variable.

David Miller davem at davemloft.net
Mon Aug 1 03:45:23 UTC 2016


From: Heinrich Schuchardt <xypron.glpk at gmx.de>
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 having
knee jerk reactions to whatever the compiler spits out.


More information about the Intel-wired-lan mailing list