LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] regulator: core: Fix format specifier warning
@ 2014-12-29 17:06 Aniroop Mathur
2014-12-29 17:10 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Aniroop Mathur @ 2014-12-29 17:06 UTC (permalink / raw)
To: lgirdwood, broonie, linux-kernel; +Cc: aniroop.mathur, a.mathur
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
---
drivers/regulator/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index b0729ef..f380f04 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -3551,7 +3551,7 @@ regulator_register(const struct regulator_desc *regulator_desc,
rdev->dev.of_node = of_node_get(config->of_node);
rdev->dev.parent = dev;
dev_set_name(&rdev->dev, "regulator.%lu",
- atomic_inc_return(®ulator_no));
+ (unsigned long) atomic_inc_return(®ulator_no));
ret = device_register(&rdev->dev);
if (ret != 0) {
put_device(&rdev->dev);
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: core: Fix format specifier warning
2014-12-29 17:06 [PATCH] regulator: core: Fix format specifier warning Aniroop Mathur
@ 2014-12-29 17:10 ` Mark Brown
2014-12-29 17:15 ` Aniroop Mathur
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2014-12-29 17:10 UTC (permalink / raw)
To: Aniroop Mathur; +Cc: lgirdwood, linux-kernel, a.mathur
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
On Mon, Dec 29, 2014 at 10:36:48PM +0530, Aniroop Mathur wrote:
> Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Applied, thanks. Please check what you're generating your patches
against - they aren't applying cleanly, you should be using current
development code.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: core: Fix format specifier warning
2014-12-29 17:10 ` Mark Brown
@ 2014-12-29 17:15 ` Aniroop Mathur
0 siblings, 0 replies; 3+ messages in thread
From: Aniroop Mathur @ 2014-12-29 17:15 UTC (permalink / raw)
To: Mark Brown; +Cc: Liam Girdwood, linux-kernel, a.mathur
On Mon, Dec 29, 2014 at 10:40 PM, Mark Brown <broonie@kernel.org> wrote:
> On Mon, Dec 29, 2014 at 10:36:48PM +0530, Aniroop Mathur wrote:
>> Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
>
> Applied, thanks. Please check what you're generating your patches
> against - they aren't applying cleanly, you should be using current
> development code.
Sure, I will take care of it from next time.
Thanks !!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-29 17:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-29 17:06 [PATCH] regulator: core: Fix format specifier warning Aniroop Mathur
2014-12-29 17:10 ` Mark Brown
2014-12-29 17:15 ` Aniroop Mathur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).