cbfstool: Remove extra comma after {0, NULL} list element
Trailing commas are useful for lists that can be extended. These lists are 0-terminated, and there should be no elements following that. Change-Id: Iea8c6d5579d6363e77e1f5af666948160c4a9bf9 Signed-off-by: Sol Boucher <solb@chromium.org> Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Change-Id: I1a117a9473e895feaf455bb30d0f945f57de51eb Original-Signed-off-by: Sol Boucher <solb@chromium.org> Reviewed-on: http://review.coreboot.org/10932 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
ec42486055
commit
5bb90e6999
|
@ -77,13 +77,13 @@ static const struct typedesc_t types_cbfs_entry[] = {
|
||||||
{CBFS_COMPONENT_MRC_CACHE, "mrc_cache"},
|
{CBFS_COMPONENT_MRC_CACHE, "mrc_cache"},
|
||||||
{CBFS_COMPONENT_DELETED, "deleted"},
|
{CBFS_COMPONENT_DELETED, "deleted"},
|
||||||
{CBFS_COMPONENT_NULL, "null"},
|
{CBFS_COMPONENT_NULL, "null"},
|
||||||
{0, NULL},
|
{0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct typedesc_t types_cbfs_compression[] = {
|
static const struct typedesc_t types_cbfs_compression[] = {
|
||||||
{CBFS_COMPRESS_NONE, "none"},
|
{CBFS_COMPRESS_NONE, "none"},
|
||||||
{CBFS_COMPRESS_LZMA, "LZMA"},
|
{CBFS_COMPRESS_LZMA, "LZMA"},
|
||||||
{0, NULL},
|
{0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *lookup_name_by_type(const struct typedesc_t *desc, uint32_t type,
|
static const char *lookup_name_by_type(const struct typedesc_t *desc, uint32_t type,
|
||||||
|
|
Loading…
Reference in New Issue