target/xtensa: Remove 'ERROR: ' prefix in error log

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 <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8611
Reviewed-by: Richard Allen <rsaxvc@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Marc Schink 2024-11-30 15:32:09 +01:00 committed by Antonio Borneo
parent 7f9d25d58a
commit 9cd0b37112
1 changed files with 1 additions and 1 deletions

View File

@ -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 */