All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-next] ps3: remove unneeded semicolon
@ 2021-08-20  2:49 ` jing yangyang
  0 siblings, 0 replies; 4+ messages in thread
From: jing yangyang @ 2021-08-20  2:49 UTC (permalink / raw)
  To: Geoff Levand
  Cc: Michael Ellerman, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev, linux-kernel, jing yangyang, Zeal Robot

Eliminate the following coccicheck warning:

./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon
./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn>
---
 arch/powerpc/platforms/ps3/system-bus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c
index c8b50fe..b637bf2 100644
--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -603,7 +603,7 @@ static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page,
 	default:
 		/* not happned */
 		BUG();
-	};
+	}
 	result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size,
 			     &bus_addr, iopte_flag);
 
@@ -762,7 +762,7 @@ int ps3_system_bus_device_register(struct ps3_system_bus_device *dev)
 		break;
 	default:
 		BUG();
-	};
+	}
 
 	dev->core.of_node = NULL;
 	set_dev_node(&dev->core, 0);
-- 
1.8.3.1



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

* [PATCH linux-next] ps3: remove unneeded semicolon
@ 2021-08-20  2:49 ` jing yangyang
  0 siblings, 0 replies; 4+ messages in thread
From: jing yangyang @ 2021-08-20  2:49 UTC (permalink / raw)
  To: Geoff Levand
  Cc: jing yangyang, Zeal Robot, linux-kernel, Paul Mackerras, linuxppc-dev

Eliminate the following coccicheck warning:

./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon
./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: jing yangyang <jing.yangyang@zte.com.cn>
---
 arch/powerpc/platforms/ps3/system-bus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c
index c8b50fe..b637bf2 100644
--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -603,7 +603,7 @@ static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page,
 	default:
 		/* not happned */
 		BUG();
-	};
+	}
 	result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size,
 			     &bus_addr, iopte_flag);
 
@@ -762,7 +762,7 @@ int ps3_system_bus_device_register(struct ps3_system_bus_device *dev)
 		break;
 	default:
 		BUG();
-	};
+	}
 
 	dev->core.of_node = NULL;
 	set_dev_node(&dev->core, 0);
-- 
1.8.3.1



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

* Re: [PATCH linux-next] ps3: remove unneeded semicolon
  2021-08-20  2:49 ` jing yangyang
@ 2022-03-12 10:29   ` Michael Ellerman
  -1 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2022-03-12 10:29 UTC (permalink / raw)
  To: jing yangyang, Geoff Levand
  Cc: Paul Mackerras, Benjamin Herrenschmidt, linuxppc-dev,
	jing yangyang, Michael Ellerman, linux-kernel, Zeal Robot

On Thu, 19 Aug 2021 19:49:01 -0700, jing yangyang wrote:
> Eliminate the following coccicheck warning:
> 
> ./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon
> ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon
> 
> 

Applied to powerpc/next.

[1/1] ps3: remove unneeded semicolon
      https://git.kernel.org/powerpc/c/9f5196065eeb96fee1a15f2eae31fe1fc7623ade

cheers

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

* Re: [PATCH linux-next] ps3: remove unneeded semicolon
@ 2022-03-12 10:29   ` Michael Ellerman
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2022-03-12 10:29 UTC (permalink / raw)
  To: jing yangyang, Geoff Levand
  Cc: jing yangyang, Zeal Robot, linux-kernel, Paul Mackerras, linuxppc-dev

On Thu, 19 Aug 2021 19:49:01 -0700, jing yangyang wrote:
> Eliminate the following coccicheck warning:
> 
> ./arch/powerpc/platforms/ps3/system-bus.c:606:2-3: Unneeded semicolon
> ./arch/powerpc/platforms/ps3/system-bus.c:765:2-3: Unneeded semicolon
> 
> 

Applied to powerpc/next.

[1/1] ps3: remove unneeded semicolon
      https://git.kernel.org/powerpc/c/9f5196065eeb96fee1a15f2eae31fe1fc7623ade

cheers

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

end of thread, other threads:[~2022-03-12 10:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  2:49 [PATCH linux-next] ps3: remove unneeded semicolon jing yangyang
2021-08-20  2:49 ` jing yangyang
2022-03-12 10:29 ` Michael Ellerman
2022-03-12 10:29   ` Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.