From: Randy Dunlap Date: Thu, 26 May 2011 17:16:15 +0000 (-0700) Subject: regulator: Fix 88pm8607.c printk format warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=099691081df40d8863cb2fb01ee64039633892dd;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git regulator: Fix 88pm8607.c printk format warning Fix printk format warning (seen on x86_64) and change to unsigned output format: drivers/regulator/88pm8607.c:417: warning: format '%d' expects type 'int', but argument 3 has type 'resource_size_t' Signed-off-by: Randy Dunlap Acked-by: Mark Brown Signed-off-by: Samuel Ortiz --- diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 1904be9149af..d63fddb0fbb0 100644 --- a/drivers/regulator/88pm8607.c +++ b/drivers/regulator/88pm8607.c @@ -413,8 +413,8 @@ static int __devinit pm8607_regulator_probe(struct platform_device *pdev) break; } if ((i < 0) || (i > PM8607_ID_RG_MAX)) { - dev_err(&pdev->dev, "Failed to find regulator %d\n", - res->start); + dev_err(&pdev->dev, "Failed to find regulator %llu\n", + (unsigned long long)res->start); return -EINVAL; } info->i2c = (chip->id == CHIP_PM8607) ? chip->client : chip->companion;