Re: [BUGFIX PATCH] net: ethernet: cpsw: fix erroneous condition inerror check

From: Mugunthan V N
Date: Thu Mar 21 2013 - 08:35:24 EST


On 3/21/2013 5:50 PM, Lothar WaÃmann wrote:
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@xxxxxxxxxxxxxxxxxxx>
Acked-by: Mugunthan V N <mugunthanvnm@xxxxxx>

Regards
Mugunthan V N
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/