summaryrefslogtreecommitdiff
path: root/host/lib
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2019-11-05 22:21:33 +0000
committerJulius Werner <jwerner@chromium.org>2019-11-05 22:45:39 +0000
commited8390ec50b2decdf18a3416d07d37222cb0130d (patch)
treeae4392e8113ae1c0950c186979754082737a44de /host/lib
parent6a703f5b0edfdbf2eee72d59499f73585262a46f (diff)
downloadvboot-ed8390ec50b2decdf18a3416d07d37222cb0130d.tar.gz
Revert "Clean up implicit fall through."
This reverts commit 6a703f5b0edfdbf2eee72d59499f73585262a46f. Reason for revert: This change breaks building coreboot Original change's description: > Clean up implicit fall through. > > Directly use the __attribute__ ((fallthrough)) instead of > a macro. > This was suggested in CL:1772474. > > BUG=chromium:997709 > TEST=CQ > BRANCH=None > > Change-Id: Ic6cd417d7c735395a4b136dbb0879a6f1716da98 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1897360 > Tested-by: Manoj Gupta <manojgupta@chromium.org> > Reviewed-by: Julius Werner <jwerner@chromium.org> > Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Bug: chromium:997709 Change-Id: Icd0de8bcdee44d1b41f313a4f5aaba8108f734ab Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1899735 Reviewed-by: Mathew King <mathewk@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Commit-Queue: Julius Werner <jwerner@chromium.org> Tested-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/crossystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c
index 1bad2cfb..3a418939 100644
--- a/host/lib/crossystem.c
+++ b/host/lib/crossystem.c
@@ -409,7 +409,7 @@ static int GetVdatInt(VdatIntField field)
break;
case VDAT_INT_FW_BOOT2:
value = (sh->flags & VBSD_BOOT_FIRMWARE_VBOOT2 ? 1 : 0);
- __attribute__ ((fallthrough));
+ VBOOT_FALLTHROUGH;
default:
break;
}