Commit 6415db19 authored by David S. Miller's avatar David S. Miller

[RAID0]: Use proper size_t printf format string.

parent 5b76d8d9
...@@ -214,7 +214,7 @@ static int raid0_run (mddev_t *mddev) ...@@ -214,7 +214,7 @@ static int raid0_run (mddev_t *mddev)
printk("raid0 : nb_zone is %d.\n", nb_zone); printk("raid0 : nb_zone is %d.\n", nb_zone);
conf->nr_zones = nb_zone; conf->nr_zones = nb_zone;
printk("raid0 : Allocating %d bytes for hash.\n", printk("raid0 : Allocating %Zd bytes for hash.\n",
nb_zone*sizeof(struct raid0_hash)); nb_zone*sizeof(struct raid0_hash));
conf->hash_table = vmalloc (sizeof (struct raid0_hash)*nb_zone); conf->hash_table = vmalloc (sizeof (struct raid0_hash)*nb_zone);
if (!conf->hash_table) if (!conf->hash_table)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment