commit | 2ae843f7323bf6ffa74771bcac8ecd5fa78d66ea | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 15 00:51:00 2018 -0600 |
committer | Alexander Graf <agraf@suse.de> | Sun Sep 23 21:55:30 2018 +0200 |
tree | 5b462f3bb7e456bc2e3829edb81171c17a2015e3 | |
parent | 428aa0ca56aef4ca7facb503c4dba2de127c6046 [diff] |
efi: Correct the operation of efi_file_write() We should not directly cast between pointers and addresses since it breaks sandbox. Fix this and simplify the code in file_read(). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Alexander Graf <agraf@suse.de>