Medicine Yeh has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/48688 )
Change subject: dediprog.c: Fix segmentation fault on no device found
......................................................................
dediprog.c: Fix segmentation fault on no device found
libusb_exit() call is done by dediprog_open() under the
ret == 1 condition. Removing this line has no impact on
any flow and side effect of the program.
Change-Id: I38b3f3ee3f9d46845df1404791f4a4782320aa7c
Signed-off-by: Medicine Yeh <medicinehy(a)gmail.com>
---
M dediprog.c
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/88/48688/1
diff --git a/dediprog.c b/dediprog.c
index a9d0034..c50e374 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -1188,7 +1188,6 @@
ret = dediprog_open(i);
if (ret == -1) {
/* no dev */
- libusb_exit(usb_ctx);
return 1;
} else if (ret == -2) {
/* busy dev */
--
To view, visit https://review.coreboot.org/c/flashrom/+/48688
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I38b3f3ee3f9d46845df1404791f4a4782320aa7c
Gerrit-Change-Number: 48688
Gerrit-PatchSet: 1
Gerrit-Owner: Medicine Yeh <medicinehy(a)gmail.com>
Gerrit-MessageType: newchange
Idwer Vollering has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/48430 )
Change subject: cli_classic.c: fix minor cosmetic bug when support for wiki page generation is not compiled in
......................................................................
cli_classic.c: fix minor cosmetic bug when support for wiki page generation is not compiled in
Change-Id: I222fd7aa5d633fe81ef1894d67dcb25ba0dd8937
---
M cli_classic.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/30/48430/1
diff --git a/cli_classic.c b/cli_classic.c
index ae7f6ef..3dbaec2 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -364,7 +364,7 @@
cli_classic_validate_singleop(&operation_specified);
list_supported_wiki = 1;
#else
- cli_classic_abort_usage("Error: Wiki output was not"
+ cli_classic_abort_usage("Error: Wiki output was not "
"compiled in. Aborting.\n");
#endif
break;
--
To view, visit https://review.coreboot.org/c/flashrom/+/48430
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I222fd7aa5d633fe81ef1894d67dcb25ba0dd8937
Gerrit-Change-Number: 48430
Gerrit-PatchSet: 1
Gerrit-Owner: Idwer Vollering <vidwer(a)gmail.com>
Gerrit-MessageType: newchange