From: openocd-gerrit <ope...@us...> - 2024-09-15 09:18:05
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 0261cd995888e83f6099f0d94a5e9a96a47bc609 (commit) from 96924dda01b964799fc1a78524fc24d7bd2142dc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 0261cd995888e83f6099f0d94a5e9a96a47bc609 Author: Antonio Borneo <bor...@gm...> 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 <bor...@gm...> Reviewed-on: https://review.openocd.org/c/openocd/+/8475 Tested-by: jenkins diff --git a/tools/scripts/checkpatch.pl b/tools/scripts/checkpatch.pl index a2f89eac8..59a3eed12 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 } ----------------------------------------------------------------------- Summary of changes: tools/scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- Main OpenOCD repository |