Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755123AbbBTSwB (ORCPT ); Fri, 20 Feb 2015 13:52:01 -0500 Received: from mail-ig0-f180.google.com ([209.85.213.180]:47455 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755076AbbBTSwA (ORCPT ); Fri, 20 Feb 2015 13:52:00 -0500 MIME-Version: 1.0 In-Reply-To: <1424455404.18211.10.camel@perches.com> References: <1424385796-28910-1-git-send-email-adrien+dev@schischi.me> <1424399661-20327-1-git-send-email-adrien+dev@schischi.me> <20150219234548.2e4412cb@grimm.local.home> <20150220120506.1c3812a8@grimm.local.home> <1424454016.18211.8.camel@perches.com> <1424455404.18211.10.camel@perches.com> Date: Fri, 20 Feb 2015 10:51:59 -0800 X-Google-Sender-Auth: Ib1zlo_NYcUWbbauSzW-lhUyofM Message-ID: Subject: Re: [PATCH v2] x86: fix output of show_stack_log_lvl() From: Linus Torvalds To: Joe Perches Cc: Masami Hiramatsu , Thomas Gleixner , Andy Lutomirski , Francesco Ruggeri , Steven Rostedt , Andrey Ryabinin , Andrew Morton , Peter Anvin , Adrien Schildknecht , Linux Kernel Mailing List , Alexander van Heukelum , Borislav Petkov , Andrey Konovalov , "the arch/x86 maintainers" , Ingo Molnar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 28 On Fri, Feb 20, 2015 at 10:03 AM, Joe Perches wrote: > > True. Also fix the pr_debug/dev_dbg cases > like drivers/dma/ppc4xx/adma.c: Yup, that's just garbage, and doesn't actually do what is intended. Also, rather than pr_debug("\n%s(%d):\nsrc: ", __func__, id); for (i = 0; i < src_cnt; i++) pr_debug("\t0x%016llx ", src[i]); ... t should probably just use pr_debug("%s(%d):\n", __func__, id); pr_debug("%src: %*phN\n", src_cnt*sizeof(*src), src); or similar. Yes, that will just print out the byte-stream rather than do it in chunkcs of 64-bit entries, but.. Linus -- 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/