Linux-EDAC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] EDAC: aspeed: Remove unneeded semicolon
@ 2019-12-18  6:00 Xu Wang
  2019-12-18 22:32 ` Andrew Jeffery
  2019-12-19  6:33 ` Borislav Petkov
  0 siblings, 2 replies; 3+ messages in thread
From: Xu Wang @ 2019-12-18  6:00 UTC (permalink / raw)
  To: sschaeck, bp, mchehab, tony.luck, james.morse, rrichter, joel, andrew
  Cc: linux-edac, linux-arm-kernel, linux-aspeed, linux-kernel

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);
-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] EDAC: aspeed: Remove unneeded semicolon
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Jeffery @ 2019-12-18 22:32 UTC (permalink / raw)
  To: Xu Wang, Stefan M Schaeckeler, Borislav Petkov,
	Mauro Carvalho Chehab, tony.luck, James Morse, rrichter,
	Joel Stanley
  Cc: linux-edac, linux-arm-kernel, linux-aspeed, linux-kernel



On Wed, 18 Dec 2019, at 16:30, Xu Wang wrote:
> Remove unneeded semicolon reported by coccinelle.
> 
> Signed-off-by: Xu Wang <vulab@iscas.ac.cn>

Acked-by: Andrew Jeffery <andrew@aj.id.au>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] EDAC: aspeed: Remove unneeded semicolon
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2019-12-19  6:33 UTC (permalink / raw)
  To: Xu Wang
  Cc: sschaeck, mchehab, tony.luck, james.morse, rrichter, joel,
	andrew, linux-edac, linux-arm-kernel, linux-aspeed, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Linux-EDAC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-edac/0 linux-edac/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-edac linux-edac/ https://lore.kernel.org/linux-edac \
		linux-edac@vger.kernel.org
	public-inbox-index linux-edac

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-edac


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git