diff options
author | Becky Bruce <bgill@freescale.com> | 2008-05-02 01:15:45 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-05-02 06:02:16 +0200 |
commit | 128cf7f2eb952a85875834c0d274da05ee0f02aa (patch) | |
tree | 601f47d9007ccb2fceaf1e77c6c67cfc31f6ef90 /arch/powerpc/sysdev/fsl_soc.c | |
parent | [RAPIDIO] fix current kernel-doc notation (diff) | |
download | linux-128cf7f2eb952a85875834c0d274da05ee0f02aa.tar.xz linux-128cf7f2eb952a85875834c0d274da05ee0f02aa.zip |
[POWERPC] Squash build warning for print of resource_size_t in fsl_soc.c
When resource_size_t is larger than an int, the current code
generates a build warning. Kill it.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index 7b45670c7af3..b59408798fd8 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -389,8 +389,8 @@ static int __init gfar_of_init(void) } gfar_data.phy_id = *id; - snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%x", - res.start); + snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%llx", + (unsigned long long)res.start); of_node_put(phy); of_node_put(mdio); |