From: Borislav Petkov <bp@alien8.de>
To: Xu Wang <vulab@iscas.ac.cn>
Cc: sschaeck@cisco.com, mchehab@kernel.org, tony.luck@intel.com,
james.morse@arm.com, rrichter@marvell.com, joel@jms.id.au,
andrew@aj.id.au, linux-edac@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] EDAC: aspeed: Remove unneeded semicolon
Date: Thu, 19 Dec 2019 07:33:12 +0100 [thread overview]
Message-ID: <20191219063312.GC32039@zn.tnic> (raw)
In-Reply-To: <1576648806-1114-1-git-send-email-vulab@iscas.ac.cn>
On Wed, Dec 18, 2019 at 06:00:06AM +0000, Xu Wang wrote:
> Remove unneeded semicolon reported by coccinelle.
>
> Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
> ---
> drivers/edac/aspeed_edac.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/edac/aspeed_edac.c b/drivers/edac/aspeed_edac.c
> index 09a9e3d..b194658b 100644
> --- a/drivers/edac/aspeed_edac.c
> +++ b/drivers/edac/aspeed_edac.c
> @@ -243,7 +243,7 @@ static int init_csrows(struct mem_ctl_info *mci)
> if (!np) {
> dev_err(mci->pdev, "dt: missing /memory node\n");
> return -ENODEV;
> - };
> + }
>
> rc = of_address_to_resource(np, 0, &r);
>
> @@ -252,7 +252,7 @@ static int init_csrows(struct mem_ctl_info *mci)
> if (rc) {
> dev_err(mci->pdev, "dt: failed requesting resource for /memory node\n");
> return rc;
> - };
> + }
>
> dev_dbg(mci->pdev, "dt: /memory node resources: first page r.start=0x%x, resource_size=0x%x, PAGE_SHIFT macro=0x%x\n",
> r.start, resource_size(&r), PAGE_SHIFT);
> --
Applied, thanks.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
prev parent reply other threads:[~2019-12-19 6:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 6:00 [PATCH] EDAC: aspeed: Remove unneeded semicolon Xu Wang
2019-12-18 22:32 ` Andrew Jeffery
2019-12-19 6:33 ` Borislav Petkov [this message]
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=20191219063312.GC32039@zn.tnic \
--to=bp@alien8.de \
--cc=andrew@aj.id.au \
--cc=james.morse@arm.com \
--cc=joel@jms.id.au \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=rrichter@marvell.com \
--cc=sschaeck@cisco.com \
--cc=tony.luck@intel.com \
--cc=vulab@iscas.ac.cn \
/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;
as well as URLs for NNTP newsgroup(s).