Skip to content

Commit

Permalink
target/xtensa: Remove 'ERROR: ' prefix in error log
Browse files Browse the repository at this point in the history
Remove the prefix since it is redundant. While at it, also
get rid of the useless exclamation mark.

Change-Id: I16fd6a88b533fac19b4c622cf9740fd32ba7892c
Signed-off-by: Marc Schink <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/8611
Reviewed-by: Richard Allen <[email protected]>
Reviewed-by: Antonio Borneo <[email protected]>
Tested-by: jenkins
  • Loading branch information
zapb-0 authored and borneoa committed Dec 22, 2024
1 parent 7f9d25d commit 9cd0b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/xtensa/xtensa.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static enum xtensa_reg_id xtensa_windowbase_offset_to_canonical(struct xtensa *x
} else if (reg_idx >= XT_REG_IDX_A0 && reg_idx <= XT_REG_IDX_A15) {
idx = reg_idx - XT_REG_IDX_A0;
} else {
LOG_ERROR("Error: can't convert register %d to non-windowbased register!", reg_idx);
LOG_ERROR("Can't convert register %d to non-windowbased register", reg_idx);
return -1;
}
/* Each windowbase value represents 4 registers on LX and 8 on NX */
Expand Down

0 comments on commit 9cd0b37

Please sign in to comment.