From 19ac548c1ad1df62e2fd7c7291278dc60ca6ed6f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 14 Sep 2010 07:40:12 +0000 Subject: [PATCH] Fixed a checkpatch complaint about whitespace and a compiler warning about a format string mismatch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2124 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_disk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_disk.c b/scst/src/dev_handlers/scst_disk.c index 5dcd7ac8e..5a01a1c2c 100644 --- a/scst/src/dev_handlers/scst_disk.c +++ b/scst/src/dev_handlers/scst_disk.c @@ -332,7 +332,7 @@ static bool disk_on_sg_tablesize_low(struct scst_cmd *cmd) TRACE_ENTRY(); - switch (cmd-> cdb[0]) { + switch (cmd->cdb[0]) { case WRITE_6: case READ_6: case WRITE_10: @@ -529,7 +529,7 @@ static int disk_exec(struct scst_cmd *cmd) cmd->driver_status = 0; TRACE_DBG("cmd %p, save_sg %p, save_sg_cnt %d, save_lba %lld, " - "save_len %d (sg_tablesize %d, sizeof(*sg) 0x%x)", cmd, + "save_len %d (sg_tablesize %d, sizeof(*sg) 0x%zx)", cmd, work.save_sg, work.save_sg_cnt, (unsigned long long)work.save_lba, work.save_len, sg_tablesize, sizeof(*sg));