Patch from Bart Van Assche <bart.vanassche@gmail.com>:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 21 May 2008 11:56:09 +0000 (11:56 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 21 May 2008 11:56:09 +0000 (11:56 +0000)
commit7d66e739371d94eb03a1f976d9c6587199014b1c
tree59199cfabfc968e524ca518d4f0a99b9b55b0b1f
parenta2c3f49b361d38b6124dec49d71b136567c177f4
Patch from Bart Van Assche <bart.vanassche@gmail.com>:

The patch below implements the following changes:
- Fixes the remaining warnings reported by checkpatch.pl with regard to the use
  of whitespace in C code.
- Adds double qoutes around some #warning messages, such that checkpatch.pl
  does no longer try to interprete the text behind the #warning preprocessor
  directive.
- Adds an extra conversion to the generate-kernel-patch script that removes
  the single space from before goto-labels while generating the kernel patch.

This patch has been tested as follows:
- Verified that svn diff -x -w only shows changes in the #warning preprocessor directives.
- Verified the output of svn diff by reading it.
- Verified that checkpatch.pl does no longer complain on the use of whitespace
  (searched through the checkpatch.pl output for the text ' space').
- Verified that the patch generated by the generate-kernel-patch script still
  applies cleanly to the 2.6.24 kernel, and that the patched kernel still compiles cleanly.

Please let me know if I have to resubmit parts of this patch to other SCST authors.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@381 d57e44dd-8a1f-0410-8b47-8ef2f437770f
47 files changed:
iscsi-scst/include/iscsi_scst.h
iscsi-scst/kernel/conn.c
iscsi-scst/kernel/event.c
iscsi-scst/kernel/iscsi.c
iscsi-scst/kernel/nthread.c
iscsi-scst/kernel/session.c
iscsi-scst/kernel/target.c
mpt/mpt_scst.c
mpt/mpt_scst.h
qla2x00t/ql2400.c
qla2x00t/qla2x00-target/qla2x00t.c
qla2x00t/qla_attr.c
qla2x00t/qla_dbg.h
qla2x00t/qla_def.h
qla2x00t/qla_gbl.h
qla2x00t/qla_init.c
qla2x00t/qla_inline.h
qla2x00t/qla_isr.c
qla2x00t/qla_os.c
qla_isp/common/isp.c
qla_isp/common/isp_target.c
qla_isp/linux/isp_cb_ops.c
qla_isp/linux/isp_linux.c
qla_isp/linux/isp_linux.h
qla_isp/linux/isp_pci.c
qla_isp/linux/isp_scst.c
qla_isp/linux/scsi_target.c
scripts/generate-kernel-patch
scst/include/scst.h
scst/include/scst_debug.h
scst/src/dev_handlers/scst_changer.c
scst/src/dev_handlers/scst_dev_handler.h
scst/src/dev_handlers/scst_processor.c
scst/src/dev_handlers/scst_raid.c
scst/src/dev_handlers/scst_tape.c
scst/src/dev_handlers/scst_user.c
scst/src/dev_handlers/scst_vdisk.c
scst/src/scst_cdbprobe.h
scst/src/scst_debug.c
scst/src/scst_lib.c
scst/src/scst_main.c
scst/src/scst_mem.c
scst/src/scst_mem.h
scst/src/scst_priv.h
scst/src/scst_proc.c
scst/src/scst_targ.c
srpt/src/ib_srpt.c