This is an automated email from Gerrit.

"zapb <d...@zapb.de>" just uploaded a new patch set to Gerrit, which you can 
find at https://review.openocd.org/c/openocd/+/8611

-- gerrit

commit 4e000bc4d4d0b05ec31ea30359a36317718ad7e0
Author: Marc Schink <d...@zapb.de>
Date:   Sat Nov 30 15:32:09 2024 +0100

    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 <d...@zapb.de>

diff --git a/src/target/xtensa/xtensa.c b/src/target/xtensa/xtensa.c
index fe1b83bc3e..3b888fe5f0 100644
--- a/src/target/xtensa/xtensa.c
+++ b/src/target/xtensa/xtensa.c
@@ -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 */

-- 

Reply via email to