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] [day] [month] [year] [list]
Message-Id: <20180427.201920.2262338622552468340.davem@davemloft.net>
Date:   Fri, 27 Apr 2018 20:19:20 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     Jisheng.Zhang@...aptics.com
Cc:     andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
        f.fainelli@...il.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: net: replace UINT64_MAX with U64_MAX

From: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
Date: Fri, 27 Apr 2018 16:18:58 +0800

> U64_MAX is well defined now while the UINT64_MAX is not, so we fall
> back to drivers' own definition as below:
> 
> 	#ifndef UINT64_MAX
> 	#define UINT64_MAX             (u64)(~((u64)0))
> 	#endif
> 
> I believe this is in one phy driver then copied and pasted to other phy
> drivers.
> 
> Replace the UINT64_MAX with U64_MAX to clean up the source code.
> 
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@...aptics.com>

Looks good, applied to net-next, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ