lkml.org 
[lkml]   [2022]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] powerpc/ps3: Remove a couple of unneeded semicolons
From


Le 08/05/2021 à 11:51, Zhen Lei a écrit :
> The semicolon immediately following '}' is unneeded.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

A more recent version of your patch are available at
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/01647102607ce9640c9f27786d976109a3c4ea7e.1629197153.git.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 b431f41c6cb53ab..5c739267ddd2174 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);

\
 
 \ /
  Last update: 2022-03-08 13:46    [W:0.041 / U:2.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site