aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2013-03-21 02:20:11 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-21 11:57:42 -0400
commitce16294fda230c787ce5c35f61b2f80d14d70a72 (patch)
tree99a974957b09721e0379f58ca25da4e5ee68fe0d /scripts/cleanpatch
parentlantiq_etop: use free_netdev(netdev) instead of kfree() (diff)
downloadlinux-dev-ce16294fda230c787ce5c35f61b2f80d14d70a72.tar.xz
linux-dev-ce16294fda230c787ce5c35f61b2f80d14d70a72.zip
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>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions