Commit Graph

80 Commits

Author SHA1 Message Date
Bart Van Assche
b4ccff8c7e Merge r7424 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7677 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 04:13:04 +00:00
Bart Van Assche
45bc780e5b Merge r7384 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:14:09 +00:00
Bart Van Assche
611c402782 Merge r7363 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 03:00:15 +00:00
Bart Van Assche
65a8479a95 scripts/specialize-patch: Add support for SOCK_RECVMSG_HAS_FOUR_ARGS (merge r7273 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7529 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-01 03:50:45 +00:00
Vladislav Bolkhovitin
129cac067c Merged revisions 7253-7266,7268-7271 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7253 | vlnb | 2017-10-11 20:22:02 -0700 (Wed, 11 Oct 2017) | 3 lines
  
  scst: add example of active non-optimized setup
........
  r7254 | bvassche | 2017-10-12 07:56:44 -0700 (Thu, 12 Oct 2017) | 1 line
  
  qla2x00t: Fix scst_debug.h include path for the in-tree build
........
  r7255 | bvassche | 2017-10-12 08:03:13 -0700 (Thu, 12 Oct 2017) | 1 line
  
  scripts/specialize-patch: Fix #elif handling
........
  r7256 | vlnb | 2017-10-13 19:18:56 -0700 (Fri, 13 Oct 2017) | 3 lines
  
  Unpdate for kernels 4.12+
........
  r7257 | bvassche | 2017-11-11 21:01:16 -0800 (Sat, 11 Nov 2017) | 1 line
  
  iscsi-scst/usr/Makefile: Pass -Wno-format-truncation if supported
........
  r7258 | bvassche | 2017-11-12 21:48:16 -0800 (Sun, 12 Nov 2017) | 4 lines
  
  ib_srpt: Kernel 4.14 build fix
  
  Signed-off-by: Peter Vyazovik <fuzzhead0@gmail.com>
........
  r7259 | bvassche | 2017-11-12 21:49:08 -0800 (Sun, 12 Nov 2017) | 1 line
  
  scst: Introduce the kernel v4.14 bio_set_dev() macro
........
  r7260 | bvassche | 2017-11-12 21:50:44 -0800 (Sun, 12 Nov 2017) | 5 lines
  
  scst, iscsi-scst: Introduce scst_read(), scst_write(), scst_readv() and scst_writev()
  
  This makes it easier to add support for new kernel versions, e.g. kernel
  version v4.14.
........
  r7261 | bvassche | 2017-11-13 08:00:09 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst/src/scst_lib.c: Fix recently introduced checkpatch complaints
........
  r7262 | bvassche | 2017-11-13 08:18:00 -0800 (Mon, 13 Nov 2017) | 4 lines
  
  scst: Fix build for kernels 3.15 and older
  
  blk_rq_set_block_pc() was introduced in kernel 3.16.
........
  r7263 | bvassche | 2017-11-13 08:24:16 -0800 (Mon, 13 Nov 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7264 | bvassche | 2017-11-13 08:47:10 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst: Address two checkpatch warnings
........
  r7265 | bvassche | 2017-11-13 08:47:43 -0800 (Mon, 13 Nov 2017) | 1 line
  
  scst/src/scst_targ: Use READ_ONCE() instead of ACCESS_ONCE()
........
  r7266 | bvassche | 2017-11-13 08:49:39 -0800 (Mon, 13 Nov 2017) | 1 line
  
  fcst/fcst.h: Add identifier names
........
  r7268 | bvassche | 2017-11-14 08:37:24 -0800 (Tue, 14 Nov 2017) | 1 line
  
  scst: Fix kernel <= 2.6.30 build
........
  r7269 | bvassche | 2017-11-14 18:45:57 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly/bin/nightly: Clone the source code tree quietly
........
  r7270 | bvassche | 2017-11-14 18:47:06 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7271 | bvassche | 2017-11-14 18:48:03 -0800 (Tue, 14 Nov 2017) | 1 line
  
  nightly/conf/nightly.sendmail: Use mail if mutt is not available
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-23 04:30:51 +00:00
Vladislav Bolkhovitin
e5d322d4ab Merged revisions 7233-7244 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7233 | bvassche | 2017-09-20 08:09:38 -0700 (Wed, 20 Sep 2017) | 4 lines
  
  ib_srpt: Support systems with more than 255 CPU cores
  
  Signed-off-by: Kirill Malkin <kirillmalkin.km@gmail.com>
........
  r7234 | bvassche | 2017-09-24 18:52:53 -0700 (Sun, 24 Sep 2017) | 2 lines
  
  iscsi-scst/Makefile: Change MOFED path into /usr/src/ofa_kernel/default
........
  r7235 | bvassche | 2017-09-25 16:35:49 -0700 (Mon, 25 Sep 2017) | 1 line
  
  iscsi-scst/Makefile, Ubuntu: Simplify code for version querying
........
  r7236 | bvassche | 2017-10-02 16:56:47 -0700 (Mon, 02 Oct 2017) | 1 line
  
  scripts/specialize-patch: Process ENABLE_NPIV and FC_VPORT_CREATE_DEFINED correctly
........
  r7237 | bvassche | 2017-10-02 17:04:53 -0700 (Mon, 02 Oct 2017) | 2 lines
  
  scripts/generate-kernel-patch: Fix a regression introduced in r7164
........
  r7238 | bvassche | 2017-10-02 17:05:42 -0700 (Mon, 02 Oct 2017) | 1 line
  
  scripts/specialize-patch: Process CONFIG_SCST_STRICT_SERIALIZING correctly
........
  r7239 | bvassche | 2017-10-03 15:49:35 -0700 (Tue, 03 Oct 2017) | 1 line
  
  isert-scst: Make an error message more informative
........
  r7240 | bvassche | 2017-10-03 16:08:29 -0700 (Tue, 03 Oct 2017) | 1 line
  
  scst: Port to kernel v4.13
........
  r7241 | bvassche | 2017-10-03 16:10:03 -0700 (Tue, 03 Oct 2017) | 1 line
  
  nightly build: Update kernel versions
........
  r7242 | bvassche | 2017-10-05 09:57:27 -0700 (Thu, 05 Oct 2017) | 1 line
  
  scst: Port to openSUSE Leap 42.x
........
  r7243 | bvassche | 2017-10-05 16:48:25 -0700 (Thu, 05 Oct 2017) | 1 line
  
  fcst: Port to openSUSE Leap
........
  r7244 | bvassche | 2017-10-05 16:48:51 -0700 (Thu, 05 Oct 2017) | 1 line
  
  qla2x00t: Port to openSUSE Leap
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-06 04:51:04 +00:00
Bart Van Assche
1b4ba27d76 scripts/specialize-patch: Add support for HAVE_RDMA_DESTROY_AH
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-28 01:38:30 +00:00
Bart Van Assche
6912463c2e ib_srpt: Fix nightly build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-27 20:21:53 +00:00
Bart Van Assche
d2dd61c072 isert-scst, srpt: Fix build on systems with kernel >= 4.2.0 + MOFED 3.3
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-22 04:28:52 +00:00
Bart Van Assche
837413b419 scripts/specialize-patch: Fix handling of complex #if / #elif / #else / #endif constructs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6515 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 21:17:55 +00:00
Bart Van Assche
3c3590a477 scripts/specialize-patch: Simplify implementation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:47 +00:00
Bart Van Assche
ead4f8c43e scripts/specialize-patch: Simplify implementation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:11 +00:00
Bart Van Assche
bd19ba30fd scripts/specialize-patch: Add more debugging output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:34:50 +00:00
Bart Van Assche
f1df6a389b scripts/specialize-patch: Fix #elif handling
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6511 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 18:39:14 +00:00
Bart Van Assche
bc070bc1bc scripts/specialize-patch: Handle #if 0 / #elif statement combinations correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-28 05:38:07 +00:00
Bart Van Assche
e01d03fe2f scripts/specialize-patch: Recognize identifiers correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-11 04:18:47 +00:00
Bart Van Assche
77abedc121 scripts/generate-kernel-patch: Add support for kernel versions >= 4.0.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-09 13:33:11 +00:00
Bart Van Assche
8cb332836f scripts/specialize-patch: Fix a bug in evaluate()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6176 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-01 07:17:17 +00:00
Bart Van Assche
e7e2e4e17c scripts/specialize-patch: Reduce noise in nightly build output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 19:42:10 +00:00
Bart Van Assche
a41cf8bc0a scripts/specialize-patch: Support blanks around numbers inside parentheses
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 16:25:57 +00:00
Bart Van Assche
ead35aa554 scripts/specialize-patch: Rework r5405
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5406 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-04 05:50:52 +00:00
Bart Van Assche
366970312c scripts/specialize-patch: Handle numbers surrounded by parentheses properly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5405 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-04 04:38:33 +00:00
Bart Van Assche
69b6db5f43 scripts/specialize-patch: Add support for shift operator in preprocessor expressions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-03 18:05:18 +00:00
Bart Van Assche
154cc8aa87 scripts/specialize-patch: Expand RHEL_RELEASE_VERSION()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-03-16 11:37:39 +00:00
Bart Van Assche
f331a6e234 scripts/specialize-patch: Introduce [[:blank:]]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-03-16 11:35:32 +00:00
Bart Van Assche
e8f04d3f1c scripts/specialize-patch: Avoid that joining two lines generates a space in front of a tab.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4379 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-27 05:30:53 +00:00
Bart Van Assche
20f64c4e7e regtests: Fix a copy/paste bug in the #if ... partial evaluation code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3930 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-17 10:36:03 +00:00
Bart Van Assche
d554d56423 scripts/specialize-patch: Make sure that checkpatch doesn't complain about space after operator \!
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 12:22:31 +00:00
Bart Van Assche
78d62e7dd1 scripts/specialize-patch: Only emit "g1" debug output if debugging has been enabled.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3810 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:48:48 +00:00
Bart Van Assche
9455613488 scripts/specialize-patch: Update comments next to #else and #endif directives.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3809 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:26:59 +00:00
Bart Van Assche
8f48d8d7e9 Follow-up for r3807: make the hunk headers match again.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3808 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 08:32:23 +00:00
Bart Van Assche
803bae6fb8 scripts/specialize-patch: Remove #elif 0 sections from the output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 07:47:32 +00:00
Bart Van Assche
dbc55781d7 Add remaining Linux kernel 3.0 patches and port nightly build scripts to 3.0 too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 14:05:47 +00:00
Bart Van Assche
fb9ea53977 Expand CONFIG_SCST_PROC too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3433 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-01 09:14:06 +00:00
Bart Van Assche
e40875d9b9 specialize-patch: Generalized a pattern.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:12:14 +00:00
Bart Van Assche
5fe037e5b9 Updated my e-mail address in copyright statements and README files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Bart Van Assche
e66128f414 Added yet another pattern to the preprocessor statement partial evaluation engine.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-14 16:16:15 +00:00
Bart Van Assche
a9663949f0 Patch generation scripts: Fixed a typo.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 14:50:37 +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
9c20ed6584 Process tabs properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2432 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 14:06:51 +00:00
Bart Van Assche
6e152a3be1 #elif handling should now really be correct.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 20:26:38 +00:00
Bart Van Assche
89a2090064 Fixed a bug in #elif handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 19:58:06 +00:00
Bart Van Assche
507b7f0ae7 Reverted recently introduced #if/#elif handling changes because these were wrong.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 09:36:10 +00:00
Bart Van Assche
ad27ac341d patch header parsing bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 10:40:53 +00:00
Bart Van Assche
c9ad2e7a7b Changes:
- Process #elif directives correctly (doesn't affect the current SCST source code).
- Do not remove double blank lines from documentation files.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:37:27 +00:00
Bart Van Assche
e99d621185 Fixed bug in handling of #else statements matching an #if statement that could
be evaluated partially.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:16:26 +00:00
Bart Van Assche
9ece28c4f5 Added an additional expression to the list of recognized expressions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:02 +00:00
Bart Van Assche
82b810f2ad Remove /* #define CONFIG_SCST_PROC */ from the input.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-12 08:07:28 +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
0f4411d273 Added support for operator != (not equal to). Undefine CONFIG_SUSE_KERNEL.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 07:35:58 +00:00