Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-05 Thread Arnd Bergmann
On Thu, May 5, 2022 at 10:56 AM Ilpo Järvinen wrote: > On Wed, 4 May 2022, Arnd Bergmann wrote: > > On Wed, May 4, 2022 at 10:33 AM Ilpo Järvinen > > wrote: > > > On Wed, 4 May 2022, Arnd Bergmann wrote: > > > > On Wed, May 4, 2022 at 9:20 AM Ilpo Järvinen > > > > wrote: > > > > > > > > >

Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-05 Thread Ilpo Järvinen
On Wed, 4 May 2022, Arnd Bergmann wrote: > On Wed, May 4, 2022 at 10:33 AM Ilpo Järvinen > wrote: > > On Wed, 4 May 2022, Arnd Bergmann wrote: > > > On Wed, May 4, 2022 at 9:20 AM Ilpo Järvinen > > > wrote: > > > > > > > After applying the patch locally, I still see a bunch of whitespace > > >

Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-04 Thread Arnd Bergmann
On Wed, May 4, 2022 at 10:33 AM Ilpo Järvinen wrote: > On Wed, 4 May 2022, Arnd Bergmann wrote: > > On Wed, May 4, 2022 at 9:20 AM Ilpo Järvinen > > wrote: > > > > > After applying the patch locally, I still see a bunch of whitespace > > differences in the > > changed lines if I run > > > >

Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-04 Thread Michael Ellerman
Ilpo Järvinen writes: > Many archs have termbits.h as octal numbers. It makes hard for humans > to parse the magnitude of large numbers correctly and to compare with > hex ones of the same define. > > Convert octal values to hex. > > First step is an automated conversion with: > > for i in $(git

Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-04 Thread Ilpo Järvinen
On Wed, 4 May 2022, Arnd Bergmann wrote: > On Wed, May 4, 2022 at 9:20 AM Ilpo Järvinen > wrote: > > > > Many archs have termbits.h as octal numbers. It makes hard for humans > > to parse the magnitude of large numbers correctly and to compare with > > hex ones of the same define. > > > >

Re: [PATCH 1/1] termbits: Convert octal defines to hex

2022-05-04 Thread Arnd Bergmann
On Wed, May 4, 2022 at 9:20 AM Ilpo Järvinen wrote: > > Many archs have termbits.h as octal numbers. It makes hard for humans > to parse the magnitude of large numbers correctly and to compare with > hex ones of the same define. > > Convert octal values to hex. > > First step is an automated

[PATCH 1/1] termbits: Convert octal defines to hex

2022-05-04 Thread Ilpo Järvinen
Many archs have termbits.h as octal numbers. It makes hard for humans to parse the magnitude of large numbers correctly and to compare with hex ones of the same define. Convert octal values to hex. First step is an automated conversion with: for i in $(git ls-files | grep 'termbits\.h'); do