commit | 1c755ffa4fa3e2d4112cadd30142344789ad2fd2 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 05 16:19:44 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat May 07 15:15:32 2016 -0400 |
tree | 8ec57b56379479b15410ea20251985fb0c1ffa70 | |
parent | 545fea54916af5e88f02346d85301ba0ecc143f3 [diff] |
netxen: reversed condition in netxen_nic_set_link_parameters() My static checker complains that we are using "autoneg" without initializing it. The problem is the ->phy_read() condition is reversed so we only set this on error instead of success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>