diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:42:16 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 11:23:53 +0000 |
commit | eb73bb073f90c960f128403a9eae5370069f0f02 (patch) | |
tree | a67665bd90f65ea40a147851bbd388cf1a6c9bb2 /common/version.c | |
parent | 8a59fce97bb56320c38e1fd40bba560081cb3b35 (diff) | |
download | chrome-ec-eb73bb073f90c960f128403a9eae5370069f0f02.tar.gz |
common/version.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I5fb90ad360b1d25142f2f94502590e92b4faf2df
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729811
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'common/version.c')
-rw-r--r-- | common/version.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/version.c b/common/version.c index 3978e796b5..781840d55e 100644 --- a/common/version.c +++ b/common/version.c @@ -17,8 +17,7 @@ BUILD_ASSERT(CONFIG_ROLLBACK_VERSION >= 0); BUILD_ASSERT(CONFIG_ROLLBACK_VERSION <= INT32_MAX); -const struct image_data __keep current_image_data - FIXED_SECTION("ver") = { +const struct image_data __keep current_image_data FIXED_SECTION("ver") = { .cookie1 = CROS_EC_IMAGE_DATA_COOKIE1, .version = CROS_EC_VERSION32, #ifndef TEST_BUILD @@ -69,7 +68,6 @@ static int get_num_commits(const struct image_data *data) } return (i == sizeof(data->version) ? 0 : ret); - } /* LCOV_EXCL_STOP */ |