From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752592AbdAMMGX (ORCPT ); Fri, 13 Jan 2017 07:06:23 -0500 Received: from foss.arm.com ([217.140.101.70]:42044 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbdAMMGU (ORCPT ); Fri, 13 Jan 2017 07:06:20 -0500 Date: Fri, 13 Jan 2017 12:06:14 +0000 From: Will Deacon To: Mark Rutland Cc: Ard Biesheuvel , miles.chen@mediatek.com, Catalin Marinas , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , wsd_upstream@mediatek.com Subject: Re: [PATCH] arm64/mm: use phys_addr_t Message-ID: <20170113120614.GE3253@arm.com> References: <1484287175-14342-1-git-send-email-miles.chen@mediatek.com> <20170113112205.GA26804@leverpostej> <20170113114553.GD26804@leverpostej> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170113114553.GD26804@leverpostej> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 13, 2017 at 11:45:54AM +0000, Mark Rutland wrote: > On Fri, Jan 13, 2017 at 11:27:48AM +0000, Ard Biesheuvel wrote: > > On 13 January 2017 at 11:22, Mark Rutland wrote: > > > On Fri, Jan 13, 2017 at 01:59:35PM +0800, miles.chen@mediatek.com wrote: > > >> From: Miles Chen > > >> > > >> Use phys_addr_t instead of unsigned long for the > > >> return value of __pa(), make code easy to understand. > > >> > > >> Signed-off-by: Miles Chen > > > > > > This looks sensible to me. It's consistent with the types these > > > variables are compared against, and with the types of function > > > parameters these are passed as. > > > > > > > Indeed. But doesn't it clash with Laura's series? > > Good point. > > Yes, but only for the RHS of the assignment changing. This'll need to be > rebased atop of the arm64 for-next/core branch, or Catalin/Will might > fix it up when applying, perhaps? Yeah, it's dead easy for me to fix up. Will