From: Vasily Averin Date: Mon, 5 Nov 2007 22:50:53 +0000 (-0800) Subject: i2o: debug messages corrected X-Git-Tag: v2.6.24-rc2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ae5fbf771aeb534e31f3541673bb240ff8c07283;p=linux-2.6-omap-h63xx.git i2o: debug messages corrected max_phys_segments and max_sectors were swapped Signed-off-by: Vasily Averin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 682406168de..e4ad7a1c4fb 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c @@ -1077,8 +1077,8 @@ static int i2o_block_probe(struct device *dev) blk_queue_max_sectors(queue, max_sectors); blk_queue_max_hw_segments(queue, i2o_sg_tablesize(c, body_size)); - osm_debug("max sectors = %d\n", queue->max_phys_segments); - osm_debug("phys segments = %d\n", queue->max_sectors); + osm_debug("max sectors = %d\n", queue->max_sectors); + osm_debug("phys segments = %d\n", queue->max_phys_segments); osm_debug("max hw segments = %d\n", queue->max_hw_segments); /*