Re: [PATCH v3 1/5] modpost: Use for() loop

2025-05-08 Thread Masahiro Yamada
On Fri, May 2, 2025 at 11:25 PM Peter Zijlstra wrote: > > Slight cleanup by using a for() loop instead of while(). This makes it > clearer what is the iteration and what is the actual work done. > > Signed-off-by: Peter Zijlstra (Intel) > --- > scripts/mod/modpost.c |8 +++- > 1 file cha

[PATCH v3 1/5] modpost: Use for() loop

2025-05-02 Thread Peter Zijlstra
Slight cleanup by using a for() loop instead of while(). This makes it clearer what is the iteration and what is the actual work done. Signed-off-by: Peter Zijlstra (Intel) --- scripts/mod/modpost.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) --- a/scripts/mod/modpost.c +++