Commit 3a38d3af authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse

[MTD] [MAPS] ichxrom warning fix

drivers/mtd/maps/ichxrom.c: In function 'ichxrom_init_one':
drivers/mtd/maps/ichxrom.c:231: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
drivers/mtd/maps/ichxrom.c:231: warning: format '%08lx' expects type 'long unsigned int', but argument 4 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 1a6284cb
...@@ -227,8 +227,8 @@ static int __devinit ichxrom_init_one (struct pci_dev *pdev, ...@@ -227,8 +227,8 @@ static int __devinit ichxrom_init_one (struct pci_dev *pdev,
(((unsigned long)(window->virt)) + offset); (((unsigned long)(window->virt)) + offset);
map->map.size = 0xffffffffUL - map_top + 1UL; map->map.size = 0xffffffffUL - map_top + 1UL;
/* Set the name of the map to the address I am trying */ /* Set the name of the map to the address I am trying */
sprintf(map->map_name, "%s @%08lx", sprintf(map->map_name, "%s @%08Lx",
MOD_NAME, map->map.phys); MOD_NAME, (unsigned long long)map->map.phys);
/* Firmware hubs only use vpp when being programmed /* Firmware hubs only use vpp when being programmed
* in a factory setting. So in-place programming * in a factory setting. So in-place programming
......
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