[U-Boot] [PATCH] cmd: mdio: prevent data abort when no mdio bus is found

Joe Hershberger joe.hershberger at ni.com
Mon Jul 15 18:12:58 UTC 2019


On Fri, Jul 12, 2019 at 1:59 PM Simon Goldschmidt
<simon.k.r.goldschmidt at gmail.com> wrote:
>
> Calling 'mdio read ...' currently leads to a data abort when no mdio
> bus is found.
>
> To fix this, check if 'bus' is a valid pointer before accessing it.
>
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

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


More information about the U-Boot mailing list