diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-01 12:21:55 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-01 12:21:55 +0100 |
commit | b49da12dad4916a5678e35b1909bdc529a6d8474 (patch) | |
tree | 7c356fb265fa2b8ab81ec6dfd5dd4d0b578041dc /resources/scripts/build/clean/u-boot | |
parent | 9aa34f1e20263c8b25d4865f3b68db2e985ce5d8 (diff) |
util/nvmutil: only swap/copy if checksum is valid
in practise, the file was never written unless the checksum
was valid, but in the same of sloccount reduction i made it
do the swap/copy before checking. while functionally ok, it
never sat right with me. this is one example of where sloc
count doesn't mean everything. code correctness is critical
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/clean/u-boot')
0 files changed, 0 insertions, 0 deletions