Attention is currently required from: Nico Huber, Miklós Márton, Anastasia Klimchuk. Hello build bot (Jenkins), Nico Huber, Miklós Márton, Miklós Márton, Edward O'Callaghan, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/54190
to look at the new patch set (#2).
Change subject: stlinkv3_spi.c: Clean up properly on all init error paths ......................................................................
stlinkv3_spi.c: Clean up properly on all init error paths
Do a cleanup: close handle and exit usb context in cases when init fails.
If register_spi_master() fails, going to err_exit cleanup is not needed because at that point shutdown function has already been registered and it does the job.
BUG=b:185191942 TEST=builds
Change-Id: I9fabf48068635593bc86006c9642d8569eee8447 Signed-off-by: Anastasia Klimchuk aklm@chromium.org --- M stlinkv3_spi.c 1 file changed, 7 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/90/54190/2