hvsp: fix error with unapplied global CHECKPATCH_OPS
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 20 May 2025 19:33:32 +0000 (15:33 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 20 May 2025 19:33:32 +0000 (15:33 -0400)
Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
scripts/kernel-send-patches.sh

index 4e7688f..6fa21e0 100755 (executable)
@@ -335,7 +335,7 @@ for p in ${srcdir}/*.patch; do
     if [ x"$(basename ${p})" != x"${series_prefix}0000-cover-letter.patch" ]; then
         if [ x"${ignore_checkpatch_errors}" != x"" ]; then
             set +e
-            CHECKPATCH_OPS="--ignore ${ignore_checkpatch_errors}"
+            CHECKPATCH_OPS="${CHECKPATCH_OPS} --ignore ${ignore_checkpatch_errors}"
         fi
 
         scripts/checkpatch.pl ${CHECKPATCH_OPS} ${p}