regulator: core: Fix format specifier warning
PATCH 1/1 regulator: core: Fix format specifier warning
Signed-off-by Aniroop Mathur <[email protected]>
--- drivers/regulator/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/core.c +1 -1
@@ -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);
Signature · 1 line
1.9.1
Quoted 1 line · Aniroop Mathur
Signed-off-by Aniroop Mathur <[email protected]>
Applied, thanks. Please check what you're generating your patches against - they aren't applying cleanly, you should be using current development code.
Quoted 6 lines · Mark Brown
Quoted 1 line · Aniroop Mathur
Signed-off-by Aniroop Mathur <[email protected]>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 !!