Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933335AbaJWAUI (ORCPT ); Wed, 22 Oct 2014 20:20:08 -0400 Received: from mail-qg0-f48.google.com ([209.85.192.48]:48426 "EHLO mail-qg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932095AbaJWAUG (ORCPT ); Wed, 22 Oct 2014 20:20:06 -0400 MIME-Version: 1.0 In-Reply-To: <1414022989-23035-1-git-send-email-gregory.0xf0@gmail.com> References: <1414022989-23035-1-git-send-email-gregory.0xf0@gmail.com> From: Gregory Fong Date: Wed, 22 Oct 2014 17:19:33 -0700 Message-ID: Subject: Re: [PATCH] mm: cma: Use %pa to avoid truncating the physical address To: Marek Szyprowski Cc: "linux-kernel@vger.kernel.org" , Kevin Cernekee , Gregory Fong , linux-mm@kvack.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replying to change to use the real linux-mm list on CC (sorry for the noise!) On Wed, Oct 22, 2014 at 5:09 PM, Gregory Fong wrote: > From: Kevin Cernekee > > Signed-off-by: Kevin Cernekee > [gregory.0xf0@gmail.com: rebased from 3.14 and updated commit message] > Signed-off-by: Gregory Fong > --- > mm/cma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/cma.c b/mm/cma.c > index 963bc4a..154efb0 100644 > --- a/mm/cma.c > +++ b/mm/cma.c > @@ -288,8 +288,8 @@ int __init cma_declare_contiguous(phys_addr_t base, > if (ret) > goto err; > > - pr_info("Reserved %ld MiB at %08lx\n", (unsigned long)size / SZ_1M, > - (unsigned long)base); > + pr_info("Reserved %ld MiB at %pa\n", (unsigned long)size / SZ_1M, > + &base); > return 0; > > err: > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/