Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Issue 3315014: Successful partitions are never marked bad by cgptlib. (Closed)

Created:
10 years, 3 months ago by Randall Spangler
Modified:
9 years, 7 months ago
Reviewers:
Bill Richardson
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Successful partitions are never marked bad by cgptlib. Change-Id: I70e54f59b540e9115bb6bd77ae51f49a1f4ab671 BUG=chromeos-partner:1029 TEST=make && make runtests

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M firmware/lib/cgptlib/cgptlib.c View 1 chunk +7 lines, -4 lines 1 comment Download
M firmware/version.c View 1 chunk +1 line, -1 line 0 comments Download
M tests/cgptlib_test.c View 2 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Randall Spangler
10 years, 3 months ago (2010-09-07 17:18:40 UTC) #1
Bill Richardson
10 years, 3 months ago (2010-09-07 17:24:52 UTC) #2
One nit. LGTM, though.

http://codereview.chromium.org/3315014/diff/1/2
File firmware/lib/cgptlib/cgptlib.c (right):

http://codereview.chromium.org/3315014/diff/1/2#newcode135
firmware/lib/cgptlib/cgptlib.c:135: CGPT_ATTRIBUTE_SUCCESSFUL_MASK |
You don't need to explicitly clear the Attribute bit, since it's already cleared
or you wouldn't be here.

Powered by Google App Engine
This is Rietveld 408576698