linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cciss updates for 2.6 [8 of 11]
@ 2004-02-05  0:17 mikem
  0 siblings, 0 replies; only message in thread
From: mikem @ 2004-02-05  0:17 UTC (permalink / raw)
  To: akpm, axboe; +Cc: linux-kernel

Patch 8 of 11. Please apply in order.
This patch changes a format specifier to unsigned to prevent the number of
blocks being displayed as a negative value on very large volumes.
--------------------------------------------------------------------------------------
diff -burN lx261-p007/drivers/block/cciss.c lx261/drivers/block/cciss.c
--- lx261-p007/drivers/block/cciss.c	2004-01-22 15:36:17.000000000 -0600
+++ lx261/drivers/block/cciss.c	2004-01-22 15:47:43.000000000 -0600
@@ -1309,7 +1309,7 @@
 		*total_size = 0;
 		*block_size = BLOCK_SIZE;
 	}
-	printk(KERN_INFO "      blocks= %d block_size= %d\n",
+	printk(KERN_INFO "      blocks= %u block_size= %d\n",
 		*total_size, *block_size);
 	return;
 }

Thanks,
mikem
mike.miller@hp.com


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

only message in thread, other threads:[~2004-02-05  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-05  0:17 cciss updates for 2.6 [8 of 11] mikem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).