From: Matthias Brugger <matthias.bgg@gmail.com>
To: Thomas Meyer <thomas@m3y3r.de>,
linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] ARM: mediatek: Cocci spatch "of_table"
Date: Fri, 13 Oct 2017 16:57:28 +0200 [thread overview]
Message-ID: <2060754d-293a-5690-38f3-0d1f170d5c11@gmail.com> (raw)
In-Reply-To: <1505974912018-1713366490-1-diffsplit-thomas@m3y3r.de>
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@m3y3r.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;
>
next prev parent reply other threads:[~2017-10-13 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-21 6:24 [PATCH 0/3] Cocci spatch "of_table" - v4.14-rc1 Thomas Meyer
2017-09-21 6:24 ` [PATCH 2/3] i2c: Cocci spatch "of_table" Thomas Meyer
2017-10-05 11:26 ` Wolfram Sang
2017-09-21 6:24 ` [PATCH 1/3] ARM: mediatek: " Thomas Meyer
2017-10-13 14:57 ` Matthias Brugger [this message]
2017-09-21 6:24 ` [PATCH 3/3] net: stmmac: " Thomas Meyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2060754d-293a-5690-38f3-0d1f170d5c11@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=thomas@m3y3r.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®