kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables
@ 2021-06-17  2:48 Wei Yongjun
  2021-06-17  7:51 ` Alistair
  2021-06-17 12:47 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Yongjun @ 2021-06-17  2:48 UTC (permalink / raw)
  To: weiyongjun1, Alistair Francis, Liam Girdwood, Mark Brown
  Cc: linux-kernel, kernel-janitors, Hulk Robot

Make sure platform_device_id tables are NULL terminated.

Fixes: 8c485bedfb78 ("regulator: sy7636a: Initial commit")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/regulator/sy7636a-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c
index c384c2b6ac46..672b7055131d 100644
--- a/drivers/regulator/sy7636a-regulator.c
+++ b/drivers/regulator/sy7636a-regulator.c
@@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev)
 
 static const struct platform_device_id sy7636a_regulator_id_table[] = {
 	{ "sy7636a-regulator", },
+	{},
 };
 MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables
  2021-06-17  2:48 [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables Wei Yongjun
@ 2021-06-17  7:51 ` Alistair
  2021-06-17 12:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Alistair @ 2021-06-17  7:51 UTC (permalink / raw)
  To: Wei Yongjun, Liam Girdwood, Mark Brown
  Cc: Linux Kernel Mailing List, kernel-janitors, Hulk Robot

On Thu, Jun 17, 2021, at 12:48 PM, Wei Yongjun wrote:
> Make sure platform_device_id tables are NULL terminated.
> 
> Fixes: 8c485bedfb78 ("regulator: sy7636a: Initial commit")
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>

Reviewed-by: Alistair Francis <alistair@alistair23.me>

Alistair

> ---
> drivers/regulator/sy7636a-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c
> index c384c2b6ac46..672b7055131d 100644
> --- a/drivers/regulator/sy7636a-regulator.c
> +++ b/drivers/regulator/sy7636a-regulator.c
> @@ -110,6 +110,7 @@ static int sy7636a_regulator_probe(struct platform_device *pdev)
>  
> static const struct platform_device_id sy7636a_regulator_id_table[] = {
> { "sy7636a-regulator", },
> + {},
> };
> MODULE_DEVICE_TABLE(platform, sy7636a_regulator_id_table);
>  
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables
  2021-06-17  2:48 [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables Wei Yongjun
  2021-06-17  7:51 ` Alistair
@ 2021-06-17 12:47 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2021-06-17 12:47 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: Alistair Francis, Liam Girdwood, linux-kernel, kernel-janitors,
	Hulk Robot

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

On Thu, Jun 17, 2021 at 02:48:38AM +0000, Wei Yongjun wrote:
> Make sure platform_device_id tables are NULL terminated.

This doesn't apply against current code, please check and resend.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-17 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  2:48 [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables Wei Yongjun
2021-06-17  7:51 ` Alistair
2021-06-17 12:47 ` Mark Brown

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).