Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ce32f5d authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse
Browse files

[MTD] [MAPS] netsc520 warning fix



drivers/mtd/maps/netsc520.c: In function 'init_netsc520':
drivers/mtd/maps/netsc520.c:97: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t'

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent e389612d
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,9 @@ static struct mtd_info *mymtd;


static int __init init_netsc520(void)
static int __init init_netsc520(void)
{
{
	printk(KERN_NOTICE "NetSc520 flash device: 0x%lx at 0x%lx\n", netsc520_map.size, netsc520_map.phys);
	printk(KERN_NOTICE "NetSc520 flash device: 0x%Lx at 0x%Lx\n",
			(unsigned long long)netsc520_map.size,
			(unsigned long long)netsc520_map.phys);
	netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size);
	netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size);


	if (!netsc520_map.virt) {
	if (!netsc520_map.virt) {