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

From: David Miller
Date: Thu Mar 21 2013 - 11:58:06 EST

From: Mugunthan V N <mugunthanvnm@xxxxxx>
Date: Thu, 21 Mar 2013 18:02:21 +0530

> 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>

Applied, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at