public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* i2o: debug messages corrected
@ 2007-10-29  6:31 Vasily Averin
  0 siblings, 0 replies; only message in thread
From: Vasily Averin @ 2007-10-29  6:31 UTC (permalink / raw)
  To: Linux Kernel Mailing List, devel; +Cc: Andrew Morton

max_phys_segments and max_sectors were swapped

Signed-off-by:	Vasily Averin <vvs@sw.ru>

--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -1076,8 +1076,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);

 	/*


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-29  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29  6:31 i2o: debug messages corrected Vasily Averin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox