Commit Graph

87 Commits

Author SHA1 Message Date
Bart Van Assche
1a4dc2afa0 Works again.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:57:33 +00:00
Bart Van Assche
91aec29858 svn merge -r2369:2520 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:54:36 +00:00
Bart Van Assche
8337c3b35a Fixed a bug that was introduced in r2366.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2370 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 16:37:16 +00:00
Bart Van Assche
e5d1af7b12 Rearranged SCST patch order.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2366 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 10:40:24 +00:00
Bart Van Assche
8fdcfcef96 Don't generate empty patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 10:35:32 +00:00
Bart Van Assche
b67e6a893f Rearranged names and contents of the broken-out SCST patchset.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-07 10:58:45 +00:00
Bart Van Assche
160be2c30a Reverted r2327 because it is no longer necessary.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:52:28 +00:00
Bart Van Assche
b5c8cdb121 Bug fix: made sure that nested invocations of process_patch() do not overwrite each others output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:50:50 +00:00
Bart Van Assche
3bae1fcd3c scst_passthrough.diff is again non-empty.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2327 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 17:19:37 +00:00
Bart Van Assche
bdad2d787b Elaborated scsi_tgt removal patch description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 18:38:40 +00:00
Bart Van Assche
6a016a27f2 Added the file ibmvstgt/README to the ibmvstgt patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 18:36:39 +00:00
Bart Van Assche
cfad79a103 Added diffstat generation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 06:46:20 +00:00
Bart Van Assche
efc9328ff7 Further ibmvstgt/scsi_tgt patch description refinements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 07:59:17 +00:00
Bart Van Assche
85f3cd4f87 Removed empty Signed-off-by line / elaborated ibmvstgt patch description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 19:13:32 +00:00
Bart Van Assche
7b4e0f104a Added ibmvstgt and scsi_tgt patch descriptions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 17:29:44 +00:00
Bart Van Assche
7194bcd3b1 Added command-line option -s: disable patch specialization.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:38:44 +00:00
Bart Van Assche
b638590476 Removed automatically generated Signed-off-by: ... line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:17:01 +00:00
Bart Van Assche
1b3fff1df4 Moved scsi_tgt removal to a separate patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:39 +00:00
Bart Van Assche
319589cdcc Added a source file to the ibmvstgt patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2196 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 11:06:16 +00:00
Bart Van Assche
ffe49d6869 ibmvstgt patch: include defconfig changes too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2191 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 07:03:37 +00:00
Bart Van Assche
26f95ebfba Added drivers/scsi/Makefile.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2180 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 20:14:18 +00:00
Bart Van Assche
d0c79c47a6 Minor bug fixes related to command-line option -p.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2172 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 19:07:05 +00:00
Bart Van Assche
780d8b439c Added scsi_tgt-related source files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2171 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 18:59:04 +00:00
Bart Van Assche
372e02c368 Generate ibmvstgt patch automatically.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-18 13:12:18 +00:00
Bart Van Assche
7ef57f0f9e Bug fix: made sure that the patch generated by command-line option -u actually compiles.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 10:56:37 +00:00
Bart Van Assche
2aa9e1d69a Bug fix: substitute CONFIG_SCST_PROC properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-12 07:49:54 +00:00
Bart Van Assche
0ff36ae2e2 Unbreak the nightly build after the procfs to sysfs switch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2047 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-04 08:17:55 +00:00
Bart Van Assche
4c2d1b2a1d Bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-17 19:03:44 +00:00
Bart Van Assche
2fd1a2ea1f Don't complain when the fcst patch series file is missing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1935 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-05 07:55:26 +00:00
Bart Van Assche
a24bd6962a Exclude fcst from the sparse test build if the fcst patch series file is missing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-04 07:43:57 +00:00
Bart Van Assche
a6b0c914b8 Pick the proper fcst patch series file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1915 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:32:42 +00:00
Bart Van Assche
566050b610 Obtain fcst in-tree kernel patch filenames from fcst/linux-patches/series-2.6.33-rc8.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:54:14 +00:00
Bart Van Assche
493ad888d5 Added in-tree fcst patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-11 16:12:54 +00:00
Bart Van Assche
05888f9db0 Un-break the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-16 18:24:56 +00:00
Vladislav Bolkhovitin
ff6d116e49 Minor mainline kernel related fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-13 17:25:45 +00:00
Bart Van Assche
12b1d9d57e Changes:
- Process the pattern [01] && defined(...) properly.
- Added command-line option -d (debug) to generate-kernel-patch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-04 13:27:24 +00:00
Bart Van Assche
5dc06c26de scripts/run-regression-tests works now for the 2.6.33 kernel too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-03-01 17:32:38 +00:00
Bart Van Assche
d50a02767d Added fcst code in generate-kernel-patch output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1517 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-21 09:00:20 +00:00
Vladislav Bolkhovitin
23accb2e12 When converting the SCST source code into a series of upstream patches, SCST
is built via the kbuild infastructure. In kernel version 2.6.24 (commit
f77bf01425b11947eeb3b5b54685212c302741b8) the kbuild variable ccflags-y has
been introduced and the use of EXTRA_CFLAGS in kbuild makefiles has been
deprecated. The patch below converts SCST's in-tree makefiles such that these
use ccflags-y instead of EXTRA_CFLAGS when generating kernel patches for
kernel 2.6.24 or later.

Additionally, this patch removes the "default n" from the file
scst/kernel/in-tree/Kconfig.scst since this statement is superfluous.

The patch below has been tested by verifying the output of the following
command:
for ((v=23;v<=32;v++)); do rm -rf re* && scripts/run-regression-tests 2.6.$v; done

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-11 19:16:38 +00:00
Bart Van Assche
9b1c4bd639 TRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
when option -u has been specified.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:26:49 +00:00
Bart Van Assche
0c3c7bc193 run-regression-tests:
- Adding the suffix "-u" to a kernel version will make the tests to be run
  with generate-kernel-patch -u ${kernel_version} instead of
  generate-kernel-patch ${kernel_version}.
generate-kernel-patch:
- sBUG(...) and sBUG_ON(...) are now replaced by BUG(...) and BUG_ON(...)
  respectively.
- Option -n does no longer disable the above substitution.
- Source file scst/src/scst_proc.c is now excluded when option -u is specified.
specialize-patch:
- Replaced variable delete_disabled_code by blank_deleted_lines. While setting
  the former variable had the effect of deleting disabled code, the latter
  has the effect of replacing disabled code by blank lines.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:46:40 +00:00
Bart Van Assche
51892c42d8 The generate-kernel-patch option -u does now enable #undef CONFIG_SCST_PROC.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 07:48:44 +00:00
Bart Van Assche
64803db9f1 When command-line option -u is passed to scripts/generate-kernel-patch,
undefine the preprocessor symbol
CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 18:26:19 +00:00
Bart Van Assche
a8414808ab Only extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 20:03:39 +00:00
Bart Van Assche
c031d72333 Added command-line option -u to scripts/generate-kernel-patch, which has
the following effect:
- Exclude the put_page_callback patch.
- Enable #define GENERATING_UPSTREAM_PATCH.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:12:09 +00:00
Bart Van Assche
68e136e779 Made sure that patch generation also works for other kernel versions than 2.6.26.8.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-14 17:10:46 +00:00
Bart Van Assche
17c48b03f4 Reverted r1199: this revision was an attempt to eliminate the differences
in patch order between the systems on which this script is run. Since the
applied changes did not have any effect, I'm reverting this commit.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-12 17:17:03 +00:00
Bart Van Assche
bf91df1ad6 Sort patch names alphabetically.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1199 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 16:18:21 +00:00
Bart Van Assche
ebc6c27bde Reworked qla2x00t patch generation process:
- Moved qla2x00t patch generation code from qla2x00t/Makefile to
  qla2x00t/extract-qla2xxx-orig and qla2x00t/generate-in-tree-patches.
  Restored qla2x00t/Makefile to r1104.
- scripts/run-regression-tests now passes the full kernel version (including
  patch level) to scripts/generate-kernel-patch.
- scripts/generate-kernel-patch can now generate patches for the files
  in drivers/scsi/qla2xxx for any kernel version instead of only 2.6.26.8.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 15:54:04 +00:00
Bart Van Assche
9d10da40b9 Made sure that ls does not print an error message when no matches are
found for the specified file pattern.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-10 17:55:37 +00:00