util/cbfstool: Wrap logging macros in do - while
Wrap the console logging macros with do { ... } while (0) so they act more like functions. Add missing semicolons to calls of these macros. TEST=compile only Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I721a4a93636201fa2394ec62cbe4e743cd3ad9d0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68336 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Felix Held
parent
a261502de5
commit
9049dfdb68
@@ -433,7 +433,7 @@ int parse_fit_to_payload(const struct buffer *input, struct buffer *output,
|
||||
*/
|
||||
if (algo != CBFS_COMPRESS_NONE) {
|
||||
ERROR("FIT images don't support whole-image compression,"
|
||||
" compress the kernel component instead!\n")
|
||||
" compress the kernel component instead!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user