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-next>] [day] [month] [year] [list]
Message-ID: <d74a3644-1d03-42c7-b258-4d5d63416ee0@p183>
Date:   Wed, 27 Sep 2023 22:21:41 +0300
From:   Alexey Dobriyan <adobriyan@...il.com>
To:     David Laight <david.laight@...lab.com>
Cc:     linux-kernel@...r.kernel.org, willy@...radead.org,
        torvalds@...ux-foundation.org, Jason@...c4.com, hch@...radead.org,
        david.laight@...lab.com, andriy.shevchenko@...ux.intel.com,
        akpm@...ux-foundation.org
Subject: Re: + minmax-add-umina-b-and-umaxa-b.patch added to
 mm-nonmm-unstable branch

On Wed, Sep 27, 2023 at 10:30:33AM -0700, Andrew Morton wrote:
> +#define umin(x, y)	\
> +	__careful_cmp((x) + 0u + 0ul + 0ull, (y) + 0u + 0ul + 0ull, <)

kmin() and kmax() are (of course!) much better names.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ