Fixed checkpatch complaints about whitespace.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 26 Sep 2009 08:37:27 +0000 (08:37 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 26 Sep 2009 08:37:27 +0000 (08:37 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1148 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scst/src/dev_handlers/scst_vdisk.c
scst/src/scst_lib.c

index c80811a..96fb222 100644 (file)
@@ -1941,7 +1941,7 @@ static void vdisk_exec_read_capacity16(struct scst_cmd *cmd)
         * But if you're using such buggy Windows and experience this problem,
         * change this '1' to '0'.
         */
-#if 1  
+#if 1
        if (length > READ_CAP16_LEN)
                length = READ_CAP16_LEN;
 #else
index e494c5d..70a0bfd 100644 (file)
@@ -333,7 +333,7 @@ void scst_check_convert_sense(struct scst_cmd *cmd)
        if (d_sense && ((cmd->sense[0] == 0x70) || (cmd->sense[0] == 0x71))) {
                TRACE_MGMT_DBG("Converting fixed sense to descriptor (cmd %p)",
                        cmd);
-               if ((cmd->sense_valid_len < 18) ) {
+               if ((cmd->sense_valid_len < 18)) {
                        PRINT_ERROR("Sense too small to convert (%d, "
                                "type: fixed)", cmd->sense_buflen);
                        goto out;