[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>
This commit is contained in:
@@ -389,8 +389,8 @@ static int __init gfar_of_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gfar_data.phy_id = *id;
|
gfar_data.phy_id = *id;
|
||||||
snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%x",
|
snprintf(gfar_data.bus_id, MII_BUS_ID_SIZE, "%llx",
|
||||||
res.start);
|
(unsigned long long)res.start);
|
||||||
|
|
||||||
of_node_put(phy);
|
of_node_put(phy);
|
||||||
of_node_put(mdio);
|
of_node_put(mdio);
|
||||||
|
Reference in New Issue
Block a user