Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1a6284cb6f44b2484505ee7567831316a90bc09f
Commit:     1a6284cb6f44b2484505ee7567831316a90bc09f
Parent:     5ad0fdc6ddd4836ddbd912a4cfc6af3963fdaa59
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 17 16:02:09 2007 -0800
Committer:  David Woodhouse <[EMAIL PROTECTED]>
CommitDate: Sun Feb 18 16:42:25 2007 +0000

    [MTD] [MAPS] amd76xrom warning fix
    
    drivers/mtd/maps/amd76xrom.c: In function 'amd76xrom_init_one':
    drivers/mtd/maps/amd76xrom.c:209: warning: format '%08lx' expects type 
'long unsigned int', but argument 4 has type 'resource_size_t'
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: David Woodhouse <[EMAIL PROTECTED]>
---
 drivers/mtd/maps/amd76xrom.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c
index 78b6711..728aed6 100644
--- a/drivers/mtd/maps/amd76xrom.c
+++ b/drivers/mtd/maps/amd76xrom.c
@@ -205,8 +205,8 @@ static int __devinit amd76xrom_init_one (struct pci_dev 
*pdev,
                        (((unsigned long)(window->virt)) + offset);
                map->map.size = 0xffffffffUL - map_top + 1UL;
                /* Set the name of the map to the address I am trying */
-               sprintf(map->map_name, "%s @%08lx",
-                       MOD_NAME, map->map.phys);
+               sprintf(map->map_name, "%s @%08Lx",
+                       MOD_NAME, (unsigned long long)map->map.phys);
 
                /* There is no generic VPP support */
                for(map->map.bankwidth = 32; map->map.bankwidth;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to