From 8bec8ffea381a45f7dbf62b11890ccb721ac3414 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 14 Oct 2018 03:58:46 +0000 Subject: [PATCH] scripts/checkpatch: Add a script that analyzes all SCST files with checkpatch git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7506 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/checkpatch | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/checkpatch diff --git a/scripts/checkpatch b/scripts/checkpatch new file mode 100755 index 000000000..21797c67f --- /dev/null +++ b/scripts/checkpatch @@ -0,0 +1,3 @@ +#!/bin/bash + +../linux-kernel/scripts/checkpatch.pl -f --show-types --ignore SPDX_LICENSE_TAG,LINUX_VERSION_CODE $(list-source-files | grep -vE 'fcst/linux-patches|patch$|pdf$|png$|ibmvstgt/') | sed 's/^#[0-9]*: FILE: \(.*\):/\1:1:/'