This is an automated email from Gerrit.

"Antonio Borneo <[email protected]>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9052

-- gerrit

commit 4809cf146c62443fd7f750388b0c2ac8b47f6932
Author: Antonio Borneo <[email protected]>
Date:   Sat Jul 26 18:01:41 2025 +0200

    jtag: prepare for aligning switch and case statements
    
    To prepare for aligning switch and case statements, fix in advance
    some checkpatch error due to existing code:
    - use '__func__' in place of hardcoded function name.
    
    Change-Id: Ib90811c7fffa15702fb710345c5ca3c7331d5ad6
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/src/jtag/interface.c b/src/jtag/interface.c
index 92c88ca934..0473a87535 100644
--- a/src/jtag/interface.c
+++ b/src/jtag/interface.c
@@ -86,8 +86,8 @@ int tap_move_ndx(enum tap_state astate)
                        ndx = 5;
                        break;
                default:
-                       LOG_ERROR("FATAL: unstable state \"%s\" in 
tap_move_ndx()",
-                                       tap_state_name(astate));
+                       LOG_ERROR("FATAL: unstable state \"%s\" in %s()",
+                                       tap_state_name(astate), __func__);
                        exit(1);
        }
 

-- 

Reply via email to