mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]  arm/mm/pmsa-v8 : remove unneeded semicolon
@ 2018-12-27  6:26 Peng Hao
  2019-01-02 10:40 ` Vladimir Murzin
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Hao @ 2018-12-27  6:26 UTC (permalink / raw)
  To: linux; +Cc: linux-arm-kernel, linux-kernel, Peng Hao

Remove unneeded semicolon.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
---
 arch/arm/mm/pmsa-v8.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mm/pmsa-v8.c b/arch/arm/mm/pmsa-v8.c
index 617a83d..0d7d5fb 100644
--- a/arch/arm/mm/pmsa-v8.c
+++ b/arch/arm/mm/pmsa-v8.c
@@ -165,7 +165,7 @@ static int __init pmsav8_setup_ram(unsigned int number, phys_addr_t start,phys_a
 		return -EINVAL;
 
 	bar = start;
-	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);;
+	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);
 
 	bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED;
 	lar |= PMSAv8_LAR_IDX(PMSAv8_RGN_NORMAL) | PMSAv8_LAR_EN;
@@ -181,7 +181,7 @@ static int __init pmsav8_setup_io(unsigned int number, phys_addr_t start,phys_ad
 		return -EINVAL;
 
 	bar = start;
-	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);;
+	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);
 
 	bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED | PMSAv8_BAR_XN;
 	lar |= PMSAv8_LAR_IDX(PMSAv8_RGN_DEVICE_nGnRnE) | PMSAv8_LAR_EN;
-- 
1.8.3.1


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

* Re: [PATCH] arm/mm/pmsa-v8 : remove unneeded semicolon
  2018-12-27  6:26 [PATCH] arm/mm/pmsa-v8 : remove unneeded semicolon Peng Hao
@ 2019-01-02 10:40 ` Vladimir Murzin
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Murzin @ 2019-01-02 10:40 UTC (permalink / raw)
  To: Peng Hao, linux; +Cc: linux-kernel, linux-arm-kernel

On 12/27/18 6:26 AM, Peng Hao wrote:
> Remove unneeded semicolon.
> 
> Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
> ---
>  arch/arm/mm/pmsa-v8.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mm/pmsa-v8.c b/arch/arm/mm/pmsa-v8.c
> index 617a83d..0d7d5fb 100644
> --- a/arch/arm/mm/pmsa-v8.c
> +++ b/arch/arm/mm/pmsa-v8.c
> @@ -165,7 +165,7 @@ static int __init pmsav8_setup_ram(unsigned int number, phys_addr_t start,phys_a
>  		return -EINVAL;
>  
>  	bar = start;
> -	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);;
> +	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);
>  
>  	bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED;
>  	lar |= PMSAv8_LAR_IDX(PMSAv8_RGN_NORMAL) | PMSAv8_LAR_EN;
> @@ -181,7 +181,7 @@ static int __init pmsav8_setup_io(unsigned int number, phys_addr_t start,phys_ad
>  		return -EINVAL;
>  
>  	bar = start;
> -	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);;
> +	lar = (end - 1) & ~(PMSAv8_MINALIGN - 1);
>  
>  	bar |= PMSAv8_AP_PL1RW_PL0RW | PMSAv8_RGN_SHARED | PMSAv8_BAR_XN;
>  	lar |= PMSAv8_LAR_IDX(PMSAv8_RGN_DEVICE_nGnRnE) | PMSAv8_LAR_EN;
> 

Acked-by: Vladimir Murzin <vladimir.murzin@arm.com>

You need to drop it into Russell's patch system [1]

[1] http://www.armlinux.org.uk/developer/patches/

Cheers
Vladimir

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

end of thread, other threads:[~2019-01-02 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-27  6:26 [PATCH] arm/mm/pmsa-v8 : remove unneeded semicolon Peng Hao
2019-01-02 10:40 ` Vladimir Murzin

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®