aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index fe0d1390b743..e6fdb288be65 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -173,7 +173,7 @@ void blk_dump_rq_flags(struct request *rq, char *msg)
173 173
174 if (blk_pc_request(rq)) { 174 if (blk_pc_request(rq)) {
175 printk(KERN_INFO " cdb: "); 175 printk(KERN_INFO " cdb: ");
176 for (bit = 0; bit < sizeof(rq->cmd); bit++) 176 for (bit = 0; bit < BLK_MAX_CDB; bit++)
177 printk("%02x ", rq->cmd[bit]); 177 printk("%02x ", rq->cmd[bit]);
178 printk("\n"); 178 printk("\n");
179 } 179 }