aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2009-07-17 19:55:15 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-07 13:42:56 -0400
commit37bbe084d1152cb580d2cc88b4eda2004506a141 (patch)
tree6642f3ff69a6f84fa8b0277411420533e23f4950
parent7fa350b4754cd69c8352ef3f5d23082fbdcab0bd (diff)
ide-tape: fix debug call
This error only occurs when IDETAPE_DEBUG_LOG is enabled. Signed-off-by: Mark de Wever <koraq@xs4all.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index bc5fb12b913c..1d74f159bcc4 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -583,7 +583,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
583 struct ide_cmd cmd; 583 struct ide_cmd cmd;
584 u8 stat; 584 u8 stat;
585 585
586 debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n" 586 debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n",
587 (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq)); 587 (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq));
588 588
589 BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq))); 589 BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq)));