Re: [PATCH v2] fs/aio.c: Cosmetic

2020-11-02 Thread Joe Perches
On Mon, 2020-11-02 at 17:50 -0700, Andreas Dilger wrote: > On Nov 2, 2020, at 2:58 PM, Alejandro Colomar wrote: > > Changes: > > - Consistently use 'unsigned int', instead of 'unsigned'. > > - Add a blank line after variable declarations. > > - Move variable declarations to the top of functions. >

Re: [PATCH v2] fs/aio.c: Cosmetic

2020-11-02 Thread Andreas Dilger
On Nov 2, 2020, at 2:58 PM, Alejandro Colomar wrote: > Changes: > - Consistently use 'unsigned int', instead of 'unsigned'. > - Add a blank line after variable declarations. > - Move variable declarations to the top of functions. > - Add a blank line at the top of functions if there are no declara

[PATCH v2] fs/aio.c: Cosmetic

2020-11-02 Thread Alejandro Colomar
Changes: - Consistently use 'unsigned int', instead of 'unsigned'. - Add a blank line after variable declarations. - Move variable declarations to the top of functions. - Add a blank line at the top of functions if there are no declarations. - Invert logic of 'if's to reduce indentation and simplif