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]
Date:   Fri, 13 Oct 2017 16:57:28 +0200
From:   Matthias Brugger <matthias.bgg@...il.com>
To:     Thomas Meyer <thomas@...3r.de>, linux@...linux.org.uk,
        linux-arm-kernel@...ts.infradead.org,
        linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] ARM: mediatek: Cocci spatch "of_table"



On 09/21/2017 08:24 AM, Thomas Meyer wrote:
> Make sure (of/i2c/platform)_device_id tables are NULL terminated.
> Found by coccinelle spatch "misc/of_table.cocci"
> 
> Signed-off-by: Thomas Meyer <thomas@...3r.de>
> ---
> 

Applied to v4.14-next/soc

Thanks!

> diff -u -p a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
> --- a/arch/arm/mach-mediatek/platsmp.c
> +++ b/arch/arm/mach-mediatek/platsmp.c
> @@ -54,12 +54,14 @@ static const struct of_device_id mtk_tz_
>   	{ .compatible   = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
>   	{ .compatible   = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
>   	{ .compatible   = "mediatek,mt2701", .data = &mtk_mt8135_tz_boot },
> +	{},
>   };
>   
>   static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
>   	{ .compatible   = "mediatek,mt6589", .data = &mtk_mt6589_boot },
>   	{ .compatible   = "mediatek,mt7623", .data = &mtk_mt7623_boot },
>   	{ .compatible   = "mediatek,mt7623a", .data = &mtk_mt7623_boot },
> +	{},
>   };
>   
>   static void __iomem *mtk_smp_base;
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ