Idwer Vollering has uploaded this change for review.

View Change

util/ich_descriptor_tool: use clang's style suggestion

Tested on:
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on
LLVM 8.0.1)
Target: x86_64-unknown-freebsd13.0

Change-Id: Ie80c4c4d70c8ccf357ba8e65f454fc4d4fa8c058
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
---
M util/ich_descriptors_tool/ich_descriptors_tool.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/45/34945/1
diff --git a/util/ich_descriptors_tool/ich_descriptors_tool.c b/util/ich_descriptors_tool/ich_descriptors_tool.c
index 2db0f62..9fcb2ba 100644
--- a/util/ich_descriptors_tool/ich_descriptors_tool.c
+++ b/util/ich_descriptors_tool/ich_descriptors_tool.c
@@ -152,7 +152,7 @@
const char *fn = NULL;
const char *csn = NULL;
enum ich_chipset cs = CHIPSET_ICH_UNKNOWN;
- struct ich_descriptors desc = { 0 };
+ struct ich_descriptors desc = { { 0 } };

while ((opt = getopt(argc, argv, "df:c:")) != -1) {
switch (opt) {

To view, visit change 34945. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie80c4c4d70c8ccf357ba8e65f454fc4d4fa8c058
Gerrit-Change-Number: 34945
Gerrit-PatchSet: 1
Gerrit-Owner: Idwer Vollering <vidwer@gmail.com>
Gerrit-MessageType: newchange