From: David Miller <davem@davemloft.net>
To: Jisheng.Zhang@synaptics.com
Cc: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com,
f.fainelli@gmail.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: net: replace UINT64_MAX with U64_MAX
Date: Fri, 27 Apr 2018 20:19:20 -0400 (EDT) [thread overview]
Message-ID: <20180427.201920.2262338622552468340.davem@davemloft.net> (raw)
In-Reply-To: <20180427161858.433aabf9@xhacker.debian>
From: Jisheng Zhang <Jisheng.Zhang@synaptics.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@synaptics.com>
Looks good, applied to net-next, thanks.
prev parent reply other threads:[~2018-04-28 0:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-27 8:18 [PATCH] drivers: net: replace UINT64_MAX with U64_MAX Jisheng Zhang
2018-04-28 0:19 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180427.201920.2262338622552468340.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Jisheng.Zhang@synaptics.com \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).