[patch] mtd: silence compile warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This gets rid of a compile warning:
drivers/mtd/maps/dmv182.c:120: warning: format ‘%d’ expects type 
	‘int’, but argument 2 has type ‘uint64_t’

Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

diff --git a/drivers/mtd/maps/dmv182.c b/drivers/mtd/maps/dmv182.c
index d171674..680ba2d 100644
--- a/drivers/mtd/maps/dmv182.c
+++ b/drivers/mtd/maps/dmv182.c
@@ -116,7 +116,7 @@ static int __init init_svme182(void)
 		return -ENXIO;
 	}
 
-	printk(KERN_NOTICE "SVME182 flash device: %dMiB at 0x%08x\n",
+	printk(KERN_NOTICE "SVME182 flash device: %lldMiB at 0x%08x\n",
 		   this_mtd->size >> 20, FLASH_BASE_ADDR);
 
 	this_mtd->owner = THIS_MODULE;
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux