summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJose Marinho <[email protected]>2021-04-19 14:54:33 +0100
committerHeinrich Schuchardt <[email protected]>2021-04-24 06:53:40 +0200
commit3627cf4bff9b29cf9e41ad88b56f469a3675aba2 (patch)
tree1e3e0253584ed511771e533577ccb02006f132da /scripts
parent6fe8b4a39d0ddb6cf6de35ab3e1b522ec0824575 (diff)
efi: Fix ESRT refresh after Capsule update
Indicated by Coverity Scan CID 331147 The ESRT was being refreshed in situations where the UpdateCapsule procedure failed. In that scenario: 1) the ESRT refresh was superfluous. 2) a failed ESRT refresh return code overwrites the UpdateCapsule error return code. This commit ensures that the ESRT is only refreshed when the UpdateCapsule performs successfully. CC: Heinrich Schuchardt <[email protected]> CC: Sughosh Ganu <[email protected]> CC: AKASHI Takahiro <[email protected]> CC: Tom Rini <[email protected]> CC: Andre Przywara <[email protected]> CC: [email protected] Signed-off-by: Jose Marinho <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions