Re: [PATCH 1/5] lib/sort: Make swap functions more generic
From: Geert Uytterhoeven
Date: Thu Mar 14 2019 - 06:41:41 EST
Hi George,
On Thu, Mar 14, 2019 at 11:10 AM George Spelvin <lkml@xxxxxxx> wrote:
> On Sat, 09 Mar 2019 at 23:19:49 +0300, Andrey Abramov wrote:
> >> How about one of:
> >> swap_bytes / swap_ints / swap_longs
> >> swap_1 / swap_4 / swap_8
> >
> > longs are ambiguous, so I would prefer bit-sized types.
>
> I already implemented Andrey's suggestions, which were the exact
> opposite of yours.
>
> Pistols at dawn?
Prepared to fix all future long vs. int bugs?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds