View Change
2 comments:
File libflashrom.c:
Patch Set #19, Line 468: (offset != 0)
means you check offset == 0 quite often if rom_offset is 0, could this not be checked once?
Patch Set #19, Line 473: break
Since this does not bail out on the stride loop we might as well use continue instead of break? if we continue this covers for instance Intel targets with locked regions.
To view, visit change 23203. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0e7fad38ed79a84d41358e1f175c36d255786c12
Gerrit-Change-Number: 23203
Gerrit-PatchSet: 19
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Werner Zeh <werner.zeh@siemens.com>
Gerrit-Comment-Date: Wed, 08 Aug 2018 19:15:37 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No