[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdW0jd-oNtgBf=aHfzVoBbVh0OJYC6ELhDv3VrcGwUECwA@mail.gmail.com>
Date: Thu, 14 Mar 2019 11:41:26 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: George Spelvin <lkml@....org>
Cc: 13@....org, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Andrey Abramov <st5pub@...dex.ru>,
Andrew Morton <akpm@...ux-foundation.org>,
Daniel Wagner <daniel.wagner@...mens.com>,
Dave Chinner <dchinner@...hat.com>,
Don Mullis <don.mullis@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: Re: [PATCH 1/5] lib/sort: Make swap functions more generic
Hi George,
On Thu, Mar 14, 2019 at 11:10 AM George Spelvin <lkml@....org> 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@...ux-m68k.org
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
Powered by blists - more mailing lists