cciss updates for 2.6 [8 of 11]

From: mikem
Date: Wed Feb 04 2004 - 19:48:11 EST


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@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/