summaryrefslogtreecommitdiff
path: root/util/ich9utils/src/ich9gen/mkdescriptor.h
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-06-01 12:21:55 +0100
committerLeah Rowe <leah@libreboot.org>2023-06-01 12:21:55 +0100
commitb49da12dad4916a5678e35b1909bdc529a6d8474 (patch)
tree7c356fb265fa2b8ab81ec6dfd5dd4d0b578041dc /util/ich9utils/src/ich9gen/mkdescriptor.h
parent9aa34f1e20263c8b25d4865f3b68db2e985ce5d8 (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 'util/ich9utils/src/ich9gen/mkdescriptor.h')
0 files changed, 0 insertions, 0 deletions