* [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro
@ 2026-03-24 10:29 Giorgi Tchankvetadze
2026-03-24 10:45 ` Pedro Falcato
2026-03-24 11:07 ` Lorenzo Stoakes (Oracle)
0 siblings, 2 replies; 4+ messages in thread
From: Giorgi Tchankvetadze @ 2026-03-24 10:29 UTC (permalink / raw)
To: akpm
Cc: Liam.Howlett, lorenzo.stoakes, vbabka, jannh, pfalcato, linux-mm,
linux-kernel, Giorgi Tchankvetadze
Fix minor style inconsistency in macro parameter list to match
kernel coding style.
No functional change.
Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
---
mm/mmap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 843160946aa5..37414e4ea362 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1001,12 +1001,12 @@ struct vm_area_struct *find_extend_vma_locked(struct mm_struct *mm, unsigned lon
#if defined(CONFIG_STACK_GROWSUP)
-#define vma_expand_up(vma,addr) expand_upwards(vma, addr)
+#define vma_expand_up(vma, addr) expand_upwards(vma, addr)
#define vma_expand_down(vma, addr) (-EFAULT)
#else
-#define vma_expand_up(vma,addr) (-EFAULT)
+#define vma_expand_up(vma, addr) (-EFAULT)
#define vma_expand_down(vma, addr) expand_downwards(vma, addr)
#endif
--
2.52.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro
2026-03-24 10:29 [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro Giorgi Tchankvetadze
@ 2026-03-24 10:45 ` Pedro Falcato
2026-03-24 11:07 ` Lorenzo Stoakes (Oracle)
1 sibling, 0 replies; 4+ messages in thread
From: Pedro Falcato @ 2026-03-24 10:45 UTC (permalink / raw)
To: Giorgi Tchankvetadze
Cc: akpm, Liam.Howlett, lorenzo.stoakes, vbabka, jannh, linux-mm,
linux-kernel
On Tue, Mar 24, 2026 at 02:29:11PM +0400, Giorgi Tchankvetadze wrote:
> Fix minor style inconsistency in macro parameter list to match
> kernel coding style.
>
> No functional change.
>
> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Reviewed-by: Pedro Falcato <pfalcato@suse.de>
I understand this is your first patch, so I will be lenient here. But note
that generally style touchups are only done if you're already touching
something in the area :)
--
Pedro
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro
2026-03-24 10:29 [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro Giorgi Tchankvetadze
2026-03-24 10:45 ` Pedro Falcato
@ 2026-03-24 11:07 ` Lorenzo Stoakes (Oracle)
2026-03-24 12:11 ` Giorgi Tchankvetadze
1 sibling, 1 reply; 4+ messages in thread
From: Lorenzo Stoakes (Oracle) @ 2026-03-24 11:07 UTC (permalink / raw)
To: Giorgi Tchankvetadze
Cc: akpm, Liam.Howlett, lorenzo.stoakes, vbabka, jannh, pfalcato,
linux-mm, linux-kernel
On Tue, Mar 24, 2026 at 02:29:11PM +0400, Giorgi Tchankvetadze wrote:
> Fix minor style inconsistency in macro parameter list to match
> kernel coding style.
>
> No functional change.
>
> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
This is fine as an early patch but as Pedro said we usualllly don't take these
unless you happen to be touching that bit of the code anyway (or code near it
etc.)
But it's fine so:
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
> ---
> mm/mmap.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/mm/mmap.c b/mm/mmap.c
> index 843160946aa5..37414e4ea362 100644
> --- a/mm/mmap.c
> +++ b/mm/mmap.c
> @@ -1001,12 +1001,12 @@ struct vm_area_struct *find_extend_vma_locked(struct mm_struct *mm, unsigned lon
>
> #if defined(CONFIG_STACK_GROWSUP)
>
> -#define vma_expand_up(vma,addr) expand_upwards(vma, addr)
> +#define vma_expand_up(vma, addr) expand_upwards(vma, addr)
> #define vma_expand_down(vma, addr) (-EFAULT)
>
> #else
>
> -#define vma_expand_up(vma,addr) (-EFAULT)
> +#define vma_expand_up(vma, addr) (-EFAULT)
> #define vma_expand_down(vma, addr) expand_downwards(vma, addr)
>
> #endif
> --
> 2.52.0
>
Cheers, Lorenzo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro
2026-03-24 11:07 ` Lorenzo Stoakes (Oracle)
@ 2026-03-24 12:11 ` Giorgi Tchankvetadze
0 siblings, 0 replies; 4+ messages in thread
From: Giorgi Tchankvetadze @ 2026-03-24 12:11 UTC (permalink / raw)
To: Lorenzo Stoakes (Oracle)
Cc: akpm, Liam.Howlett, lorenzo.stoakes, vbabka, jannh, pfalcato,
linux-mm, linux-kernel
On Tue, Mar 24, 2026 at 3:07 PM Lorenzo Stoakes (Oracle) <ljs@kernel.org> wrote:
>
> This is fine as an early patch but as Pedro said we usualllly don't take these
> unless you happen to be touching that bit of the code anyway (or code near it
> etc.)
>
> But it's fine so:
>
> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
>
Thanks Lorenzo and Pedro, for the review!
Sorry for the noise, won't happen again.
Giorgi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-24 12:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 10:29 [PATCH] mm: mmap: add missing space after comma in vma_expand_up macro Giorgi Tchankvetadze
2026-03-24 10:45 ` Pedro Falcato
2026-03-24 11:07 ` Lorenzo Stoakes (Oracle)
2026-03-24 12:11 ` Giorgi Tchankvetadze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox