mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-02 04:21:48 +02:00
While this goes somewhat against normal coding style we should ensure that dev_desc is not NULL before we dereference it in allocation of legacy_mbr. Reported-by: Coverity (CID: 167292) Signed-off-by: Tom Rini <trini@konsulko.com>