All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dma/pool: trivial: add semicolon after label attributes
@ 2023-08-26  8:53 Chunhui He
  2023-08-29 14:22 ` Robin Murphy
  0 siblings, 1 reply; 7+ messages in thread
From: Chunhui He @ 2023-08-26  8:53 UTC (permalink / raw)
  To: Christoph Hellwig, Marek Szyprowski, Robin Murphy
  Cc: iommu, linux-kernel, Chunhui He

The gcc document says label attributes are ambiguous if they are
not immediately followed by a semicolon. Although the ambiguity
does not arise in C90/99, it would be better to add it.

Link: https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Label-Attributes-2
Signed-off-by: Chunhui He <hchunhui@mail.ustc.edu.cn>
---
 kernel/dma/pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/dma/pool.c b/kernel/dma/pool.c
index 1acec2e22827..f99f02b88c40 100644
--- a/kernel/dma/pool.c
+++ b/kernel/dma/pool.c
@@ -136,7 +136,7 @@ static int atomic_pool_expand(struct gen_pool *pool, size_t pool_size,
 #ifdef CONFIG_DMA_DIRECT_REMAP
 	dma_common_free_remap(addr, pool_size);
 #endif
-free_page: __maybe_unused
+free_page: __maybe_unused;
 	__free_pages(page, order);
 out:
 	return ret;
-- 
2.39.2



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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-26  8:53 [PATCH 1/2] dma/pool: trivial: add semicolon after label attributes Chunhui He
2023-08-29 14:22 ` Robin Murphy
2023-08-29 15:12   ` Christoph Hellwig
2023-08-29 15:28     ` Robin Murphy
2023-08-31 11:59       ` Chunhui He
2023-09-01  8:56         ` Robin Murphy
2023-09-01  8:59           ` Robin Murphy

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.