diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2013-03-21 02:20:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 16:26:19 (GMT) |
commit | 4a2438e61cf83c3173766d77216b3dba25d65583 (patch) | |
tree | 209403f03e0360e61f7bb0f68fa23f771de22519 /scripts/docproc.c | |
parent | 09269638aab0f527678426fe9258b384fe6bb103 (diff) | |
download | linux-fsl-qoriq-4a2438e61cf83c3173766d77216b3dba25d65583.tar.xz |
net: ethernet: cpsw: fix erroneous condition in error check
[ Upstream commit ce16294fda230c787ce5c35f61b2f80d14d70a72 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions