Received: by 10.192.165.148 with SMTP id m20csp1312462imm; Fri, 27 Apr 2018 17:20:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoo+gO7u3K8Ifsrk2LW3/9yp/0XiHEO2BP3PtazSERD03QeCq6ddopRl0oa8TCT+R3NzPEt X-Received: by 10.98.234.26 with SMTP id t26mr3955375pfh.117.1524874842074; Fri, 27 Apr 2018 17:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524874842; cv=none; d=google.com; s=arc-20160816; b=ARUQnJ/0mWU7mLb2veSYKgZpzDFcpqlyJRFnun7Yvd1h6lAg0R5XUJV/0WUragbqXP GSQ+wKu7ARuG0Ltr+0iJu1KBqfGhRIPzmci4ehcT7ghiEKzfj3MrJjcbGqY+VbJ4vCLs zvsKaIL3oxM68MIpGYXgyAyk9LEN2LDKvP/ndgqFz8YoEdKb7L1TBECIW3CpQmR1wpe8 GNPggBPfyN9SZImvAl6KIPcqOe2j7zwjNrYrDQIN5e/7NajGPxTMzrbdM4043gVo5sEk 9Psb47cJbGDAzuX+LAMfTOntnqpaSxh0mUspqyjyD+E+TCbEtxtLF717lA2vqxc18oup frWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=ZcuEBFIP8nWYggzyDgbz1WG5uHudzpLwwxBmnXSqyjc=; b=BILoXyPP6TyKxznzL8bYdfwwSyCvgTj0L2FGRO1PznBwDV5DNkuPDvsk9H5THa6O5l //E96j0cDFk3iaFYrN9SfrmJsq6FriVgJTD17gXeyx2wMil40Zp74Na4oLOcvPXYPLMs crg5IfzdBHhc8pLDW1TJMMgYXk2Z19qQtD0WjyAji2XabflPu+nimNBKGoKBRAowbKU6 9ifsL1/wqmxranNGWEbms5FIbonl3nM8VFLwmXiuepEeQBMR9Tw7/gkuEuutFK+YeDk1 Uruo/pVNXBadHeMecqGs0o21uLOsHwgxkZYTpz2zo5Fq3cYDwOCZByx71QDZpcC+Ti5m 5tyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k75si1971226pfk.369.2018.04.27.17.20.28; Fri, 27 Apr 2018 17:20:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933212AbeD1ATX (ORCPT + 99 others); Fri, 27 Apr 2018 20:19:23 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:59820 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933115AbeD1ATW (ORCPT ); Fri, 27 Apr 2018 20:19:22 -0400 Received: from localhost (pool-173-77-163-54.nycmny.fios.verizon.net [173.77.163.54]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7D1B710978F01; Fri, 27 Apr 2018 17:19:21 -0700 (PDT) Date: Fri, 27 Apr 2018 20:19:20 -0400 (EDT) Message-Id: <20180427.201920.2262338622552468340.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 From: David Miller In-Reply-To: <20180427161858.433aabf9@xhacker.debian> References: <20180427161858.433aabf9@xhacker.debian> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 27 Apr 2018 17:19:21 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jisheng Zhang 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 Looks good, applied to net-next, thanks.