Patch set 1:Code-Review +1
View Change
2 comments:
File ich_descriptors.c:
Patch Set #1, Line 1248: "__FUNC__, __LINE__ Failed with value %d.\n", ret
I don't think we're supposed to print anything in here, but let the callers handle errors instead. Plus, it could happen that a descriptor isn't present, which isn't an error.
In any case, this will print `__FUNC__, __LINE__` literally. If anything, I'd print something more user-friendly instead of function and line numbers.
Patch Set #1, Line 1248: msg_cerr
msg_perr
To view, visit change 44621. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I363aaccfb90e0a127c0f0bb0072e9e85c210b669
Gerrit-Change-Number: 44621
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Zhang <jonzhang@fb.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Bryant Ou <bryant.ou.q@gmail.com>
Gerrit-Reviewer: David Hendricks <dhendrix.sync@gmail.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin@wiwynn.com>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Comment-Date: Thu, 20 Aug 2020 07:21:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment