* [PATCH 1/2] tools/nolibc: clean up outdated comments in generic arch.h
@ 2025-11-02 14:25 Willy Tarreau
2025-11-02 14:40 ` Thomas Weißschuh
0 siblings, 1 reply; 3+ messages in thread
From: Willy Tarreau @ 2025-11-02 14:25 UTC (permalink / raw)
To: linux; +Cc: shuah, linux-kernel, Willy Tarreau
Along the code reorganizations, the file has been keeping the original
comments about argv and envp which are no longer relevant to this file
anymore. Let's just drop them.
---
tools/include/nolibc/arch.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/tools/include/nolibc/arch.h b/tools/include/nolibc/arch.h
index 426c89198135..0871c439be7d 100644
--- a/tools/include/nolibc/arch.h
+++ b/tools/include/nolibc/arch.h
@@ -3,15 +3,6 @@
* Copyright (C) 2017-2022 Willy Tarreau <w@1wt.eu>
*/
-/* Below comes the architecture-specific code. For each architecture, we have
- * the syscall declarations and the _start code definition. This is the only
- * global part. On all architectures the kernel puts everything in the stack
- * before jumping to _start just above us, without any return address (_start
- * is not a function but an entry point). So at the stack pointer we find argc.
- * Then argv[] begins, and ends at the first NULL. Then we have envp which
- * starts and ends with a NULL as well. So envp=argv+argc+1.
- */
-
#ifndef _NOLIBC_ARCH_H
#define _NOLIBC_ARCH_H
--
2.17.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] tools/nolibc: clean up outdated comments in generic arch.h
2025-11-02 14:25 [PATCH 1/2] tools/nolibc: clean up outdated comments in generic arch.h Willy Tarreau
@ 2025-11-02 14:40 ` Thomas Weißschuh
2025-11-02 15:08 ` Willy Tarreau
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Weißschuh @ 2025-11-02 14:40 UTC (permalink / raw)
To: Willy Tarreau; +Cc: shuah, linux-kernel
On 2025-11-02 15:25:48+0100, Willy Tarreau wrote:
> Along the code reorganizations, the file has been keeping the original
> comments about argv and envp which are no longer relevant to this file
> anymore. Let's just drop them.
> ---
> tools/include/nolibc/arch.h | 9 ---------
> 1 file changed, 9 deletions(-)
Thanks, applied.
FYI it seems patch 2 never got sent.
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] tools/nolibc: clean up outdated comments in generic arch.h
2025-11-02 14:40 ` Thomas Weißschuh
@ 2025-11-02 15:08 ` Willy Tarreau
0 siblings, 0 replies; 3+ messages in thread
From: Willy Tarreau @ 2025-11-02 15:08 UTC (permalink / raw)
To: Thomas Weißschuh; +Cc: shuah, linux-kernel
On Sun, Nov 02, 2025 at 03:40:32PM +0100, Thomas Weißschuh wrote:
> On 2025-11-02 15:25:48+0100, Willy Tarreau wrote:
> > Along the code reorganizations, the file has been keeping the original
> > comments about argv and envp which are no longer relevant to this file
> > anymore. Let's just drop them.
> > ---
> > tools/include/nolibc/arch.h | 9 ---------
> > 1 file changed, 9 deletions(-)
>
> Thanks, applied.
> FYI it seems patch 2 never got sent.
Sorry, I now found how I messed up. There's indeed a single one (my
git format-patch command also took an experimental one that was on top
and not to be sent).
Thanks for picking them, that's always less patches in my local tree!
Willy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-02 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-02 14:25 [PATCH 1/2] tools/nolibc: clean up outdated comments in generic arch.h Willy Tarreau
2025-11-02 14:40 ` Thomas Weißschuh
2025-11-02 15:08 ` Willy Tarreau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox