Skip to content

Commit d5e0e89

Browse files
utzignvlsianpu
authored andcommitted
Fix style issues
Convert tab to spaces; fix opening brace position. Signed-off-by: Fabio Utzig <[email protected]>
1 parent d09112a commit d5e0e89

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

boot/bootutil/src/loader.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,8 +1281,7 @@ boot_copy_region(struct boot_loader_state *state,
12811281
blk_off = (abs_off - hdr->ih_hdr_size) & 0xf;
12821282
}
12831283

1284-
if (blk_sz > 0)
1285-
{
1284+
if (blk_sz > 0) {
12861285
tlv_off = BOOT_TLV_OFF(hdr);
12871286
if (abs_off + chunk_sz > tlv_off) {
12881287
/* do not decrypt TLVs */

boot/bootutil/src/swap_move.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ boot_read_image_header(struct boot_loader_state *state, int slot,
8686

8787
off = 0;
8888
if (bs && !boot_status_is_reset(bs)) {
89-
boot_find_status(BOOT_CURR_IMG(state), &fap);
89+
boot_find_status(BOOT_CURR_IMG(state), &fap);
9090
if (fap == NULL || boot_read_swap_size(fap, &swap_size)) {
9191
rc = BOOT_EFLASH;
9292
goto done;

0 commit comments

Comments
 (0)