This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8710

-- gerrit

commit 154bb75c37ee4683dca04a12a32900ba67e50992
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Fri Jan 10 17:11:24 2025 +0100

    checkpatch: enable check for new typedefs
    
    We should strictly check for every new typedef.
    Let checkpatch detect them and let developer use
            Checkpatch-ignore: NEW_TYPEDEFS
    if it's really needed to add a new typedef.
    With this change chackpatch will not complain for typedef on
    function's type but only on enum, struct, variable's type.
    
    Change-Id: I644a753e97de877d892af3a0219716f022fb1c59
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/.checkpatch.conf b/.checkpatch.conf
index 8cb9a3729a..f432503e1a 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -17,7 +17,6 @@
 --ignore LINE_SPACING
 --ignore LOGICAL_CONTINUATIONS
 --ignore MACRO_WITH_FLOW_CONTROL
---ignore NEW_TYPEDEFS
 --ignore PARENTHESIS_ALIGNMENT
 --ignore PREFER_DEFINED_ATTRIBUTE_MACRO
 --ignore PREFER_FALLTHROUGH

-- 

Reply via email to