projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9941d94
)
[POWERPC] Squash build warning for print of resource_size_t in fsl_soc.c
author
Becky Bruce
<bgill@freescale.com>
Thu, 1 May 2008 23:15:45 +0000
(18:15 -0500)
committer
Kumar Gala
<galak@kernel.crashing.org>
Fri, 2 May 2008 04:02:16 +0000
(23:02 -0500)
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>
arch/powerpc/sysdev/fsl_soc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/fsl_soc.c
b/arch/powerpc/sysdev/fsl_soc.c
index 7b45670c7af387c34d670018dcc76108958d45fb..b59408798fd846039a5b78cf54cbd03bca7b90b3 100644
(file)
--- 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, "%
ll
x",
+
(unsigned long long)
res.start);
of_node_put(phy);
of_node_put(mdio);