From e5caaf454893cde5da723204b187e71e906802f2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 10 Jan 2009 17:21:57 +0000 Subject: [PATCH] Removed trailing whitespace. While the checkpatch script included with the 2.6.27 kernel did not complain on trailing whitespace in documentation and kbuild files, the checkpatch script included with the 2.6.28 kernel does. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@631 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/README | 16 ++++++++-------- scst_local/in-tree/Kconfig | 2 +- scst_local/in-tree/Makefile | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scst_local/README b/scst_local/README index cffa90a53..d819d65eb 100644 --- a/scst_local/README +++ b/scst_local/README @@ -26,10 +26,10 @@ Here is how I have used it so far: dd if=/dev/zero of=/some/path/vdisk1.img bs=16384 count=1000000 # dd if=/dev/zero of=/some/path/vdisk2.img bs=16384 count=1000000 - echo "open vm_disk1 /some/path/vdisk1.img" > /proc/scsi_tgt/vdisk/vdisk -# echo "open vm_disk2 /some/path/vdisk2.img" > /proc/scsi_tgt/vdisk/vdisk - echo "add vm_disk1 0" > /proc/scsi_tgt/groups/Default/devices -# echo "add vm_disk2 1" > /proc/scsi_tgt/groups/Default/devices + echo "open vm_disk1 /some/path/vdisk1.img" > /proc/scsi_tgt/vdisk/vdisk +# echo "open vm_disk2 /some/path/vdisk2.img" > /proc/scsi_tgt/vdisk/vdisk + echo "add vm_disk1 0" > /proc/scsi_tgt/groups/Default/devices +# echo "add vm_disk2 1" > /proc/scsi_tgt/groups/Default/devices 3. Load the scst_local driver: @@ -52,18 +52,18 @@ Here is how I have used it so far: 5. Have fun. -Some of this was coded while in Santa Clara, some in Bangalore, and some in +Some of this was coded while in Santa Clara, some in Bangalore, and some in Hyderabad. Noe doubt some will be coded on the way back to Santa Clara. The code still has bugs, so if you encounter any, email me the fixes at: realrichardsharpe@gmail.com -I am thinking of renaming this to something more interesting. +I am thinking of renaming this to something more interesting. 6. Change log -V0.1 24-Sep-2008 (Hyderabad) Initial coding, pretty chatty and messy, +V0.1 24-Sep-2008 (Hyderabad) Initial coding, pretty chatty and messy, but worked. V0.2 25-Sep-2008 (Hong Kong) Cleaned up the code a lot, reduced the log @@ -80,7 +80,7 @@ V0.4 5-Oct-2008 (Santa Clara) Changed name to scst_local as suggested, cleaned up some unused variables (made them used) and change allocation to a kmem_cache pool. -V0.5 5-Oct-2008 (Santa Clara) Added mgmt commands to handle dev reset and +V0.5 5-Oct-2008 (Santa Clara) Added mgmt commands to handle dev reset and aborts. Not sure if aborts works. Also corrected the version info and renamed readme to README. diff --git a/scst_local/in-tree/Kconfig b/scst_local/in-tree/Kconfig index 09bf76da1..2c1ee5e73 100644 --- a/scst_local/in-tree/Kconfig +++ b/scst_local/in-tree/Kconfig @@ -2,7 +2,7 @@ config SCST_LOCAL tristate "SCST Local driver" depends on SCST ---help--- - This module provides a LLD SCSI driver that connects to + This module provides a LLD SCSI driver that connects to the SCST target mode subsystem in a loop-back manner. It allows you to test target-mode device-handlers locally. You will need the SCST subsystem as well. diff --git a/scst_local/in-tree/Makefile b/scst_local/in-tree/Makefile index eeebd2967..3947d2927 100644 --- a/scst_local/in-tree/Makefile +++ b/scst_local/in-tree/Makefile @@ -2,7 +2,7 @@ SCST_INC_DIR := include/scst SCST_DIR := drivers/scst EXTRA_CFLAGS += -I$(SCST_INC_DIR) -I$(SCST_DIR) -#EXTRA_CFLAGS += -DCONFIG_SCST_EXTRACHECKS +#EXTRA_CFLAGS += -DCONFIG_SCST_EXTRACHECKS #EXTRA_CFLAGS += -DCONFIG_SCST_TRACING #EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG