lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <587cea0c-ebf5-470f-8c40-d49532b14a5c@www.fastmail.com>
Date:   Thu, 17 Jun 2021 17:51:22 +1000
From:   Alistair <alistair@...stair23.me>
To:     "Wei Yongjun" <weiyongjun1@...wei.com>,
        "Liam Girdwood" <lgirdwood@...il.com>,
        "Mark Brown" <broonie@...nel.org>
Cc:     "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
        kernel-janitors@...r.kernel.org, "Hulk Robot" <hulkci@...wei.com>
Subject: Re: [PATCH -next] regulator: sy7636a: Add terminate entry for platform_device_id tables

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@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>

Reviewed-by: Alistair Francis <alistair@...stair23.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);
>  
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ