commit | ce16294fda230c787ce5c35f61b2f80d14d70a72 | [log] [tgz] |
---|---|---|
author | Lothar Waßmann <LW@KARO-electronics.de> | Thu Mar 21 02:20:11 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 21 11:57:42 2013 -0400 |
tree | 99a974957b09721e0379f58ca25da4e5ee68fe0d | |
parent | cb0e51d80694fc9964436be1a1a15275e991cb1e [diff] |
net: ethernet: cpsw: fix erroneous condition in error check The error check in cpsw_probe_dt() has an '&&' where an '||' is meant to be. This causes a NULL pointer dereference when incomplet DT data is passed to the driver ('phy_id' property for cpsw_emac1 missing). Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: David S. Miller <davem@davemloft.net>