linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mips: Fix spacing issue
@ 2023-05-30  6:59 Franziska Naepelt
  2023-06-09  8:21 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Franziska Naepelt @ 2023-05-30  6:59 UTC (permalink / raw)
  To: linux-mips; +Cc: tsbogend, linux-kernel, Franziska Naepelt, Ladislav Michl

Fix some indentation issues and remove the following checkpatch issue:
- ERROR: need consistent spacing around '-' (ctx:WxV)

Co-Developed-by: Ladislav Michl <oss-lists@triops.cz>
Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
---
v2:
 - Apply review remarks

 arch/mips/sibyte/swarm/platform.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/mips/sibyte/swarm/platform.c b/arch/mips/sibyte/swarm/platform.c
index 484969db7713..339d77a0a08f 100644
--- a/arch/mips/sibyte/swarm/platform.c
+++ b/arch/mips/sibyte/swarm/platform.c
@@ -88,15 +88,15 @@ device_initcall(swarm_pata_init);
 #define sb1250_dev_struct(num) \
 	static struct resource sb1250_res##num = {		\
 		.name = "SB1250 MAC " __stringify(num),		\
-		.flags = IORESOURCE_MEM,		\
-		.start = A_MAC_CHANNEL_BASE(num),	\
-		.end = A_MAC_CHANNEL_BASE(num + 1) -1,	\
+		.flags = IORESOURCE_MEM,			\
+		.start = A_MAC_CHANNEL_BASE(num),		\
+		.end = A_MAC_CHANNEL_BASE(num + 1) - 1,		\
 	};\
 	static struct platform_device sb1250_dev##num = {	\
-		.name = "sb1250-mac",			\
-	.id = num,					\
-	.resource = &sb1250_res##num,			\
-	.num_resources = 1,				\
+		.name = "sb1250-mac",				\
+		.id = num,					\
+		.resource = &sb1250_res##num,			\
+		.num_resources = 1,				\
 	}

 sb1250_dev_struct(0);

base-commit: 7877cb91f1081754a1487c144d85dc0d2e2e7fc4
--
2.39.2 (Apple Git-143)


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

* Re: [PATCH v2] mips: Fix spacing issue
  2023-05-30  6:59 [PATCH v2] mips: Fix spacing issue Franziska Naepelt
@ 2023-06-09  8:21 ` Thomas Bogendoerfer
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2023-06-09  8:21 UTC (permalink / raw)
  To: Franziska Naepelt
  Cc: linux-mips, linux-kernel, Franziska Naepelt, Ladislav Michl

On Tue, May 30, 2023 at 08:59:49AM +0200, Franziska Naepelt wrote:
> Fix some indentation issues and remove the following checkpatch issue:
> - ERROR: need consistent spacing around '-' (ctx:WxV)
> 
> Co-Developed-by: Ladislav Michl <oss-lists@triops.cz>
> Signed-off-by: Franziska Naepelt <franziska.naepelt@gmail.com>
> ---
> v2:
>  - Apply review remarks
> 
>  arch/mips/sibyte/swarm/platform.c | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/mips/sibyte/swarm/platform.c b/arch/mips/sibyte/swarm/platform.c
> index 484969db7713..339d77a0a08f 100644
> --- a/arch/mips/sibyte/swarm/platform.c
> +++ b/arch/mips/sibyte/swarm/platform.c
> @@ -88,15 +88,15 @@ device_initcall(swarm_pata_init);
>  #define sb1250_dev_struct(num) \
>  	static struct resource sb1250_res##num = {		\
>  		.name = "SB1250 MAC " __stringify(num),		\
> -		.flags = IORESOURCE_MEM,		\
> -		.start = A_MAC_CHANNEL_BASE(num),	\
> -		.end = A_MAC_CHANNEL_BASE(num + 1) -1,	\
> +		.flags = IORESOURCE_MEM,			\
> +		.start = A_MAC_CHANNEL_BASE(num),		\
> +		.end = A_MAC_CHANNEL_BASE(num + 1) - 1,		\
>  	};\
>  	static struct platform_device sb1250_dev##num = {	\
> -		.name = "sb1250-mac",			\
> -	.id = num,					\
> -	.resource = &sb1250_res##num,			\
> -	.num_resources = 1,				\
> +		.name = "sb1250-mac",				\
> +		.id = num,					\
> +		.resource = &sb1250_res##num,			\
> +		.num_resources = 1,				\
>  	}
> 
>  sb1250_dev_struct(0);
> 
> base-commit: 7877cb91f1081754a1487c144d85dc0d2e2e7fc4
> --
> 2.39.2 (Apple Git-143)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2023-06-09  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30  6:59 [PATCH v2] mips: Fix spacing issue Franziska Naepelt
2023-06-09  8:21 ` Thomas Bogendoerfer

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