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/+/8475

-- gerrit

commit f43c889462261f39ddaa5c22e6ffbeb75b87edc5
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Mon Sep 2 11:02:19 2024 +0200

    checkpatch: check for SPDX in linker scripts
    
    Current script does not enforces the check for the SPDX tag in the
    linker scripts.
    Add the extension '.ld' in the OpenOCD specific part.
    
    Change-Id: I1cb6bc52e9dd86d99a26393085c7e2c9e8bac11f
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl
index a2f89eac89..59a3eed121 100755
--- a/tools/scripts/checkpatch.pl
+++ b/tools/scripts/checkpatch.pl
@@ -3730,6 +3730,8 @@ sub process {
                                # OpenOCD specific: Begin
                                } elsif ($realfile =~ /\.(am|cfg|tcl)$/) {
                                        $comment = '#';
+                               } elsif ($realfile =~ /\.(ld)$/) {
+                                       $comment = '/*';
                                # OpenOCD specific: End
                                }
 

-- 

Reply via email to