Bart Van Assche
427dadcb74
Enabled endianness checks.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-07-16 18:53:25 +00:00
Bart Van Assche
b97a6bbbf2
Don't run patch -p1 --dry-run on the generated kernel patch because this fails
...
for patches that depend on each other, e.g. the fcst in-tree patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:55:48 +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
5e95622983
Bug fix: does no longer attempt to patch kernels for which there is no kernel patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-30 06:31:39 +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
Bart Van Assche
9b82ea19be
Works now when started with a relative path too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-15 19:09:48 +00:00
Bart Van Assche
9c8f290140
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-15 17:34:22 +00:00
Bart Van Assche
2032370cca
svn merge -c1492 https://scst.svn.sourceforge.net/svnroot/scst/branches/srpt-separate-rx-tx-buffers/scripts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-07 09:06:03 +00:00
Bart Van Assche
30fef168be
Moved comma's in table header to the proper place.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1474 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-17 17:36:50 +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
af5ae6eeb7
Do not try to include files marked for deletion.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-04 20:05:53 +00:00
Bart Van Assche
4a72d7efa3
Added command-line option -w.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-06 13:17:14 +00:00
Bart Van Assche
7f1e235150
Added command-line options -m and -M.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-11-04 12:52:17 +00:00
Bart Van Assche
a907dc6d2e
Made sure that all double blank lines are converted into single blank lines.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:18:03 +00:00
Bart Van Assche
e63fbfd2f0
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-29 13:17:13 +00:00
Bart Van Assche
a068429f5d
Delete double blank lines from the input.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:54:11 +00:00
Bart Van Assche
9389987264
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-28 10:43:22 +00:00
Bart Van Assche
12c4889bfa
Option -f is now a per-kernel option instead of a global option.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:28:02 +00:00
Bart Van Assche
9d89f0a77f
Updated copyright statement.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:27:17 +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
0c9d80e58e
- TRACE_EXIT_HRES() statements are now also filtered.
...
- Hunk headers are now updated properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:25:10 +00:00
Bart Van Assche
4b26187063
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 12:39:10 +00:00
Bart Van Assche
a0aec0ddc1
Added per-kernel options -nc and -ns, which allow to disable the
...
checkpatch and the sparse run respectively.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:33:09 +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
b08548b174
Added debug2perf and disable_proc configurations to the regression tests.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 10:57:36 +00:00
Bart Van Assche
f1c41721ea
Re-enabled the debug2release build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:14:47 +00:00
Bart Van Assche
ef11d133df
Prepared switch to "make debug2release".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:05:21 +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
7c9a154e05
Added support for continued lines.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:45:35 +00:00
Bart Van Assche
99d9057717
Temporarily disabled release build testing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:43:48 +00:00
Bart Van Assche
c0cc23e7f8
Fixed typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:48:39 +00:00
Bart Van Assche
c821d226f3
Run a full check not only on the first specified kernel version but also on kernel version 2.6.26.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:15:56 +00:00
Bart Van Assche
b9528d1407
Added variable generating_upstream_patch_defined. When set to 1, this
...
variable tells the script specialize-patch to treat the preprocessor
symbol GENERATING_UPSTREAM_PATCH as defined.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-15 07:14:54 +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
23aeb6590f
Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.* kernels since the change is small that the submitted patch will be integrated.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-14 14:21:19 +00:00
Bart Van Assche
2a359798cf
Applied fix for sparse warning to 2.6.31.4 too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-14 07:07:53 +00:00
Bart Van Assche
45523183e4
Made sure all per-hunk state variables are initialized properly.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-12 17:40:24 +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
19d5af487e
Added a reference to the submitted kernel patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1197 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 11:42:34 +00:00
Bart Van Assche
2337301ddc
Added command-line option -k, which makes run-regression-tests consume
...
less disk space when running the regression test for multiple kernel
versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1195 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-11 09:48:36 +00:00