linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/platform/uv: Fix inconsistent indenting
@ 2021-04-16 10:10 Yang Li
  2021-04-16 14:57 ` Steve Wahl
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-04-16 10:10 UTC (permalink / raw)
  To: steve.wahl
  Cc: mike.travis, dimitri.sivanich, russ.anderson, tglx, mingo, bp,
	x86, hpa, linux-kernel, Yang Li

Kernel test robot throws below warning ->

smatch warnings:
arch/x86/kernel/apic/x2apic_uv_x.c:111 early_get_pnodeid() warn:
inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
index 52bc217..3e7534e 100644
--- a/arch/x86/kernel/apic/x2apic_uv_x.c
+++ b/arch/x86/kernel/apic/x2apic_uv_x.c
@@ -108,7 +108,7 @@ static void __init early_get_pnodeid(void)
 	} else if (UVH_RH_GAM_ADDR_MAP_CONFIG) {
 		union uvh_rh_gam_addr_map_config_u  m_n_config;
 
-	m_n_config.v = uv_early_read_mmr(UVH_RH_GAM_ADDR_MAP_CONFIG);
+		m_n_config.v = uv_early_read_mmr(UVH_RH_GAM_ADDR_MAP_CONFIG);
 		uv_cpuid.n_skt = m_n_config.s.n_skt;
 		if (is_uv(UV3))
 			uv_cpuid.m_skt = m_n_config.s3.m_skt;
-- 
1.8.3.1


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

* Re: [PATCH] x86/platform/uv: Fix inconsistent indenting
  2021-04-16 10:10 [PATCH] x86/platform/uv: Fix inconsistent indenting Yang Li
@ 2021-04-16 14:57 ` Steve Wahl
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Wahl @ 2021-04-16 14:57 UTC (permalink / raw)
  To: Yang Li
  Cc: steve.wahl, mike.travis, dimitri.sivanich, russ.anderson, tglx,
	mingo, bp, x86, hpa, linux-kernel

Reviewed-by: Steve Wahl <steve.wahl@hpe.com>

On Fri, Apr 16, 2021 at 06:10:40PM +0800, Yang Li wrote:
> Kernel test robot throws below warning ->
> 
> smatch warnings:
> arch/x86/kernel/apic/x2apic_uv_x.c:111 early_get_pnodeid() warn:
> inconsistent indenting
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  arch/x86/kernel/apic/x2apic_uv_x.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c
> index 52bc217..3e7534e 100644
> --- a/arch/x86/kernel/apic/x2apic_uv_x.c
> +++ b/arch/x86/kernel/apic/x2apic_uv_x.c
> @@ -108,7 +108,7 @@ static void __init early_get_pnodeid(void)
>  	} else if (UVH_RH_GAM_ADDR_MAP_CONFIG) {
>  		union uvh_rh_gam_addr_map_config_u  m_n_config;
>  
> -	m_n_config.v = uv_early_read_mmr(UVH_RH_GAM_ADDR_MAP_CONFIG);
> +		m_n_config.v = uv_early_read_mmr(UVH_RH_GAM_ADDR_MAP_CONFIG);
>  		uv_cpuid.n_skt = m_n_config.s.n_skt;
>  		if (is_uv(UV3))
>  			uv_cpuid.m_skt = m_n_config.s3.m_skt;
> -- 
> 1.8.3.1
> 

-- 
Steve Wahl, Hewlett Packard Enterprise

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

end of thread, other threads:[~2021-04-16 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16 10:10 [PATCH] x86/platform/uv: Fix inconsistent indenting Yang Li
2021-04-16 14:57 ` Steve Wahl

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).