Skip to contentSkip to conversation

gpio: max77620: fix of_table.cocci warnings

PATCH In review Julia Lawall 4 participants 7 messages Jan 11, 2016 – Jan 18, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: max77620: fix of_table.cocci warnings

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Please take the patch only if it's a positive warning. Thanks!

 gpio-max77620.c |    1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-max77620.c +1 -0
@@ -301,6 +301,7 @@ static struct platform_device_id max7762
 	{
 		.name = "max20024-gpio",
 	},
+	{},
 };
 
 static struct platform_driver max77620_gpio_driver = {
#1 lore raw
Quoted 10 lines · Julia Lawall

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Please take the patch only if it's a positive warning. Thanks!

This is merged into the MFD subsystem for the moment so patches have to go through Lee.

Alternatively I can go back and fix it up later.

Yours,
Linus Walleij

#3 lore raw
In reply to Lee Jones
Quoted 13 lines · Lee Jones
Quoted 11 lines · Linus Walleij
Quoted 9 lines · Julia Lawall

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Please take the patch only if it's a positive warning. Thanks!

This is merged into the MFD subsystem for the moment so patches have to go through Lee.

Alternatively I can go back and fix it up later.

Pull request for v4.5 has already been sent.

Feel free to take the patch into your tree post -rc1.

Is the driver gpio-max77620 applied?

I think still there is discussion going on the patches?

#2 lore raw
In reply to Linus Walleij
Quoted 11 lines · Linus Walleij
Quoted 9 lines · Julia Lawall

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Quoted 6 lines
Quoted 1 line

Please take the patch only if it's a positive warning. Thanks!

This is merged into the MFD subsystem for the moment so patches have to go through Lee.

Alternatively I can go back and fix it up later.

Pull request for v4.5 has already been sent.

Feel free to take the patch into your tree post -rc1.

Signature · 8 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to Laxman Dewangan
Quoted 20 lines · Laxman Dewangan
Quoted 19 lines · Lee Jones
Quoted 17 lines · Linus Walleij
Quoted 10 lines · Julia Lawall

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Please take the patch only if it's a positive warning. Thanks!

This is merged into the MFD subsystem for the moment so patches have to go through Lee.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Alternatively I can go back and fix it up later.

Pull request for v4.5 has already been sent.

Feel free to take the patch into your tree post -rc1.

Is the driver gpio-max77620 applied?

Nah, I misunderstood it, don't worry. Lee just merged the core driver(s). I have no idea what Julia's patch is based on, I was confused by this mail so I assumed it was in the tree but it was not. The world is full of mysteries :D

Quoted 1 line

I think still there is discussion going on the patches?

Sure let's work on this for the next cycle.

Yours,
Linus Walleij

#5 lore raw
Quoted 25 lines · Linus Walleij
Quoted 24 lines · Laxman Dewangan
Quoted 23 lines · Lee Jones
Quoted 12 lines · Linus Walleij
Quoted 9 lines · Julia Lawall

Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

---

Quoted 6 lines
Quoted 1 line

Please take the patch only if it's a positive warning. Thanks!

This is merged into the MFD subsystem for the moment so patches have to go through Lee.

Alternatively I can go back and fix it up later.

Pull request for v4.5 has already been sent.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Feel free to take the patch into your tree post -rc1.

Is the driver gpio-max77620 applied?

Nah, I misunderstood it, don't worry. Lee just merged the core driver(s). I have no idea what Julia's patch is based on, I was confused by this mail so I assumed it was in the tree but it was not. The world is full of mysteries :D

I don't know either. It came to me via kbuild. It may be derived from a submitted patch rather than aready committed code.

julia

Quoted 8 lines
Quoted 2 lines

I think still there is discussion going on the patches?

Sure let's work on this for the next cycle.

Yours,
Linus Walleij

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to Linus Walleij
Quoted 5 lines · Linus Walleij
Quoted 1 line · Laxman Dewangan

I think still there is discussion going on the patches?

Sure let's work on this for the next cycle.

I have fixed this in V3 version and sent for review. Please help to review it.

Thanks,
Laxman
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html