mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -99,7 +99,7 @@ if [ "${svn_old_rev}" = "${svn_new_rev}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Do everything twice -- once for the 24 hours old SCST, and once
|
||||
# Do everything twice -- once for the 24 hours old SCST, and once
|
||||
# for the current one.
|
||||
for logfile in old new ; do
|
||||
|
||||
|
||||
@@ -3079,7 +3079,7 @@ int scst_obtain_device_parameters(struct scst_device *dev);
|
||||
/*
|
||||
* Has to be put here open coded, because Linux doesn't have equivalent, which
|
||||
* allows exclusive wake ups of threads in LIFO order. We need it to let (yet)
|
||||
* unneeded threads sleep and not pollute CPU cache by their stacks.
|
||||
* unneeded threads sleep and not pollute CPU cache by their stacks.
|
||||
*/
|
||||
static inline void add_wait_queue_exclusive_head(wait_queue_head_t *q,
|
||||
wait_queue_t *wait)
|
||||
|
||||
@@ -516,7 +516,7 @@ static int scst_local_queuecommand(struct scsi_cmnd *SCpnt,
|
||||
|
||||
/*
|
||||
* Get some memory to keep track of the cmnd and the done routine
|
||||
*/
|
||||
*/
|
||||
tgt_specific = kmem_cache_alloc(tgt_specific_pool, GFP_ATOMIC);
|
||||
if (!tgt_specific) {
|
||||
printk(KERN_ERR "%s out of memory at line %d\n",
|
||||
@@ -538,15 +538,15 @@ static int scst_local_queuecommand(struct scsi_cmnd *SCpnt,
|
||||
} else {
|
||||
/*
|
||||
* Build a one-element scatter list out of the buffer
|
||||
* We will not even get here if the kernel version we
|
||||
* We will not even get here if the kernel version we
|
||||
* are building on only supports scatterlists. See #if above.
|
||||
*
|
||||
* We use the sglist and bufflen function/macros to isolate
|
||||
* us from kernel version differences.
|
||||
*/
|
||||
if (scsi_sglist(SCpnt)) {
|
||||
sg_init_one(&(tgt_specific->sgl),
|
||||
(const void *)scsi_sglist(SCpnt),
|
||||
sg_init_one(&(tgt_specific->sgl),
|
||||
(const void *)scsi_sglist(SCpnt),
|
||||
scsi_bufflen(SCpnt));
|
||||
sgl = &(tgt_specific->sgl);
|
||||
sgl_count = 1;
|
||||
|
||||
Reference in New Issue
Block a user