Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753336AbbGIQcL (ORCPT ); Thu, 9 Jul 2015 12:32:11 -0400 Received: from foss.arm.com ([217.140.101.70]:47017 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbbGIQcE (ORCPT ); Thu, 9 Jul 2015 12:32:04 -0400 Date: Thu, 9 Jul 2015 17:31:56 +0100 From: Catalin Marinas To: Maninder Singh Cc: will.deacon@arm.com, sungjinn.chung@samsung.com, jays.lee@samsung.com, kgene.kim@samsung.com, vladimir.murzin@arm.com, behanw@converseincode.com, punit.agrawal@arm.com, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rohit Thapliyal , pankaj.m@samsung.com Subject: Re: [PATCH v4] arm64:Modify the dump mem for 64 bit addresses Message-ID: <20150709163156.GF20855@e104818-lin.cambridge.arm.com> References: <1436421634-34275-1-git-send-email-maninder1.s@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436421634-34275-1-git-send-email-maninder1.s@samsung.com> 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 Content-Length: 1133 Lines: 36 On Thu, Jul 09, 2015 at 11:30:34AM +0530, Maninder Singh wrote: > diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c > index 1ef2940..97e6208 100644 > --- a/arch/arm64/kernel/traps.c > +++ b/arch/arm64/kernel/traps.c > @@ -52,11 +52,12 @@ int show_unhandled_signals = 1; > * Dump out the contents of some memory nicely... > */ > static void dump_mem(const char *lvl, const char *str, unsigned long bottom, > - unsigned long top) > + unsigned long top, bool wide) > { > unsigned long first; > mm_segment_t fs; > int i; > + unsigned int width = wide ? 4 : 8; I was thinking the other way around, i.e. wide means 64-bit, narrow 32-bit. Anyway, just rename "wide" to "compat" here, it makes even more sense. The rest of the patch looks fine: Reviewed-by: Catalin Marinas Will can pick it up for 4.3. Thanks. -- Catalin -- 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/