lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 13 May 2015 14:46:59 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Daniel Wagner <daniel.wagner@...-carit.de>
Cc:	Rasmus Villemoes <linux@...musvillemoes.dk>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1] lib/sort: Add 64 bit swap function

On Wed, 13 May 2015 13:28:33 +0200 Daniel Wagner <daniel.wagner@...-carit.de> wrote:

> On 05/13/2015 01:00 PM, Daniel Wagner wrote:
> > static int cmp_72(const void *a, const void *b)
> > {
> > 	u32 l = get_unaligned((u32 *) a);
> > 	u32 r = get_unaligned((u32 *) b);
> > 
> > 	if (l < r)
> > 		return -1;
> > 	if (l > r)
> > 		return -1;
> > 	return 0;
> > }
> 
> Argh, obviously wrong. Should I send a fix? The numbers do not change.

I fixed it up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ