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] [day] [month] [year] [list]
Message-ID: <CAEbi=3fhs585_TmhZ1Q-7rDj_DsSOsCTKaKFQYPsvT73=y-g8g@mail.gmail.com>
Date:   Wed, 8 Aug 2018 14:46:22 +0800
From:   Greentime Hu <green.hu@...il.com>
To:     yuehaibing@...wei.com
Cc:     Vincent Chen <deanbo422@...il.com>, Arnd Bergmann <arnd@...db.de>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] nds32: add NULL entry to the end of_device_id array

YueHaibing <yuehaibing@...wei.com> 於 2018年8月7日 週二 下午12:03寫道:
>
> Make sure of_device_id tables are NULL terminated.
> Found by coccinelle spatch "misc/of_table.cocci"
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
>  arch/nds32/kernel/atl2c.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/nds32/kernel/atl2c.c b/arch/nds32/kernel/atl2c.c
> index 0c6d031..0c5386e 100644
> --- a/arch/nds32/kernel/atl2c.c
> +++ b/arch/nds32/kernel/atl2c.c
> @@ -9,7 +9,8 @@
>
>  void __iomem *atl2c_base;
>  static const struct of_device_id atl2c_ids[] __initconst = {
> -       {.compatible = "andestech,atl2c",}
> +       {.compatible = "andestech,atl2c",},
> +       {}
>  };
>
>  static int __init atl2c_of_init(void)

Hi Yuehaibing,

Thank you for your patch.
Acked-by: Greentime Hu <greentime@...estech.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ