[MTD] [MAPS] esb2rom warning fixes
drivers/mtd/maps/esb2rom.c: In function 'esb2rom_init_one': drivers/mtd/maps/esb2rom.c:293: warning: format '%08lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
65af07141b
commit
5ad0fdc6dd
1 changed files with 2 additions and 2 deletions
|
@ -289,8 +289,8 @@ static int __devinit esb2rom_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
|
||||||
|
|
Loading…
Reference in a new issue