From 5a15dc1b9c25a1cc27fd621f7acbca6578b29c86 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 15 Oct 2009 07:09:40 +0000 Subject: [PATCH] Made sure that the qla2x00t patches are only included in the output of scripts/generate-kernel-patch for kernel version 2.6.26. As a result, during the nightly build the qla2x00t code will only be checked with checkpatch and sparse for the 2.6.26 kernel. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1216 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/generate-in-tree-patches | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qla2x00t/generate-in-tree-patches b/qla2x00t/generate-in-tree-patches index 8b68424ab..0f69cb058 100755 --- a/qla2x00t/generate-in-tree-patches +++ b/qla2x00t/generate-in-tree-patches @@ -7,6 +7,11 @@ if [ "$1" = "" ]; then exit 1 fi +if [ "${1#2.6.26}" = "$1" ]; then + # Exit silently for other kernel versions than 2.6.26.x. + exit 0 +fi + mkdir -p in-tree-patches/"${kernel_version}" for f in qla2xxx-orig/"${kernel_version}"/*