[U-Boot] [PATCH] net, phy, cpsw: fix unaligned access if no phy found

Joe Hershberger
2013-09-04T19:11:11Z

On Wed, Sep 4, 2013 at 7:16 AM, Heiko Schocher <hs@denx.de> wrote:
> if phy_connect() did not find a phy, phydev is not initialized
> and following code in cpsw_phy_init() maybe crashes. Fix this.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> Cc: Joe Hershberger <joe.hershberger@gmail.com>
> Cc: Mugunthan V N <mugunthanvnm@ti.com>
> Cc: Tom Rini <trini@ti.com>

Acked-by: Joe Hershberger <joe.hershberger@ni.com>