From 00aa42706fe73287dcf461fd37c3925c97d241ab Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 4 May 2009 19:07:22 +0000 Subject: [PATCH] Fixed checkpatch complaints about whitespace (indentation should use tabs / trailing whitespace). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@821 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_cdbprobe.h | 2 +- scst/src/scst_targ.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/src/scst_cdbprobe.h b/scst/src/scst_cdbprobe.h index 23f3e0d30..bdc74e60f 100644 --- a/scst/src/scst_cdbprobe.h +++ b/scst/src/scst_cdbprobe.h @@ -428,7 +428,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = { /* 12-bytes length CDB */ {0xA0, "VVVVVVVVVV M ", "REPORT LUNS", SCST_DATA_READ, SCST_SMALL_TIMEOUT|SCST_IMPLICIT_HQ|SCST_SKIP_UA| - SCST_LOCAL_CMD|SCST_LOCAL_EXEC_NEEDED, + SCST_LOCAL_CMD|SCST_LOCAL_EXEC_NEEDED, 6, get_trans_len_4}, {0xA1, " O ", "BLANK", SCST_DATA_NONE, SCST_LONG_TIMEOUT, 0, get_trans_len_none}, diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index e65c9cd71..1298fdc33 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -1557,7 +1557,7 @@ out_err: out_put_hw_err: scst_put_buf(cmd, buffer); - + out_hw_err: scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_hardw_error)); goto out_compl; @@ -2939,7 +2939,7 @@ static int scst_pre_xmit_response(struct scst_cmd *cmd) "(needed %d)", tgt_dev->tgt_dev_valid_sense_len, cmd->sense_bufflen); } - memcpy(tgt_dev->tgt_dev_sense, cmd->sense, + memcpy(tgt_dev->tgt_dev_sense, cmd->sense, tgt_dev->tgt_dev_valid_sense_len); spin_unlock_bh(&tgt_dev->tgt_dev_lock);