summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorSam Protsenko <[email protected]>2025-10-03 17:27:14 -0500
committerTom Rini <[email protected]>2025-10-13 14:54:33 -0600
commit3b278dd9e6643a9f75ef108d229c619e197067d0 (patch)
tree745d4b846567d3fed661286a212d718549c14c4b /include/linux/linux_string.h
parentee7d07f9d00eeecab6671d8db2c8d22cd8b13d89 (diff)
bootstd: Fix bootflow info for efi_mgr
A "Synchronous Abort" CPU exception happens on an attempt to run the "bootflow info" command for a global boot method (e.g. efi_mgr): => bootflow select 0 => bootflow info "Synchronous Abort" handler, esr 0x96000006, far 0x8 It happens because do_bootflow_info() tries to dereference bflow->dev, which is NULL in case of efi_mgr. Add the corresponding check to prevent this NULL pointer dereference and make "bootflow info" command work properly for global boot methods. Fixes: 2d653f686b6d ("bootstd: Add a bootflow command") Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions