Skip to content
Snippets Groups Projects
Commit f9d334bd authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

efi_loader: disk: Fix CONFIG_BLK breakage


When using CONFIG_BLK, there were 2 issues:

  1) The name we generate the device with has to match the
     name we set in efi_set_bootdev()

  2) The device we pass into our block functions was wrong,
     we should not rediscover it but just use the already known
     pointer.

This patch fixes both issues.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 45313e83
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment