summaryrefslogtreecommitdiff
path: root/include/dp83848.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-24 02:26:02 +0300
committerSimon Glass <sjg@chromium.org>2021-11-29 02:51:51 +0300
commitb7c2cc49ffa50b8a0664460f3899536e07a78158 (patch)
tree0a1c9884a12a31d2db62a9bab5d85eeaa034e5c0 /include/dp83848.h
parent362a79f3e8582138545d408a56d4accf35e894b3 (diff)
downloadu-boot-b7c2cc49ffa50b8a0664460f3899536e07a78158.tar.xz
disk: part_dos: Fix a NULL pointer error
When ext is NULL we cannot dereference it. Update the code flow to avoid this, so that layout_mbr_partitions() can be used with partition tables that do not include an extended partition. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dp83848.h')
0 files changed, 0 insertions, 0 deletions