mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-13 15:13:06 +08: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>