diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 01:59:45 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 02:01:20 +0000 |
| commit | 5d95d4dfe93f40ec00a2f0953747b06cd2af0a2a (patch) | |
| tree | cb9bac8cbcce1fd04b49ed068507bf72f79e8ea5 /config/submodule/grub/nvme/hr.po | |
| parent | b365781a4c9f650cacb099ded749c2644e236d4b (diff) | |
util/nvmutil: stricter return in pread
we were returning if verified is not off, but we
were not doing the check soon enough.
now it's clearer: just after either a reset,
or we found out offset doesn't match, we
return sooner.
otherwise, we read, and we verify again right
after. in the old code, we verified twice in
a row.
this is just more optimal, for error handling.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/submodule/grub/nvme/hr.po')
0 files changed, 0 insertions, 0 deletions
