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:/'