Commit 37bbe084 authored by Mark de Wever's avatar Mark de Wever Committed by David S. Miller

ide-tape: fix debug call

This error only occurs when IDETAPE_DEBUG_LOG is enabled.
Signed-off-by: default avatarMark de Wever <koraq@xs4all.nl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7fa350b4
...@@ -583,7 +583,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive, ...@@ -583,7 +583,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
struct ide_cmd cmd; struct ide_cmd cmd;
u8 stat; u8 stat;
debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n" debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n",
(unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq)); (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq));
BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq))); BUG_ON(!(blk_special_request(rq) || blk_sense_request(rq)));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment