Re: [PATCH] lib/sort: adjust types

2020-12-23 Thread Jan Beulich
On 22.12.2020 18:05, Andrew Cooper wrote: > On 22/12/2020 16:49, Jan Beulich wrote: >> First and foremost do away with the use of plain int for sizes or size- >> derived values. Use size_t, despite this requiring some adjustment to >> the logic. Also replace u32 by uint32_t. >> >> While not

Re: [PATCH] lib/sort: adjust types

2020-12-22 Thread Andrew Cooper
On 22/12/2020 16:49, Jan Beulich wrote: > First and foremost do away with the use of plain int for sizes or size- > derived values. Use size_t, despite this requiring some adjustment to > the logic. Also replace u32 by uint32_t. > > While not directly related also drop a leftover #ifdef from x86's

[PATCH] lib/sort: adjust types

2020-12-22 Thread Jan Beulich
First and foremost do away with the use of plain int for sizes or size- derived values. Use size_t, despite this requiring some adjustment to the logic. Also replace u32 by uint32_t. While not directly related also drop a leftover #ifdef from x86's swap_ex - this was needed only back when 32-bit