Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbdCCOSX (ORCPT ); Fri, 3 Mar 2017 09:18:23 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:37177 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbdCCOSV (ORCPT ); Fri, 3 Mar 2017 09:18:21 -0500 MIME-Version: 1.0 In-Reply-To: <028eee50-f14f-034d-6e8a-9d07276543b5@virtuozzo.com> References: <20170302134851.101218-1-andreyknvl@google.com> <20170302134851.101218-6-andreyknvl@google.com> <028eee50-f14f-034d-6e8a-9d07276543b5@virtuozzo.com> From: Andrey Konovalov Date: Fri, 3 Mar 2017 15:18:18 +0100 Message-ID: Subject: Re: [PATCH v2 5/9] kasan: change report header To: Andrey Ryabinin Cc: Alexander Potapenko , Dmitry Vyukov , kasan-dev , linux-mm@kvack.org, LKML 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: 1372 Lines: 31 On Fri, Mar 3, 2017 at 2:21 PM, Andrey Ryabinin wrote: > > > On 03/02/2017 04:48 PM, Andrey Konovalov wrote: > >> diff --git a/mm/kasan/report.c b/mm/kasan/report.c >> index 8b0b27eb37cd..945d0e13e8a4 100644 >> --- a/mm/kasan/report.c >> +++ b/mm/kasan/report.c >> @@ -130,11 +130,11 @@ static void print_error_description(struct kasan_access_info *info) >> { >> const char *bug_type = get_bug_type(info); >> >> - pr_err("BUG: KASAN: %s in %pS at addr %p\n", >> - bug_type, (void *)info->ip, info->access_addr); >> - pr_err("%s of size %zu by task %s/%d\n", >> + pr_err("BUG: KASAN: %s in %pS\n", >> + bug_type, (void *)info->ip); > > This should fit in one line without exceeding 80-char limit. You mean the code or the header? The code fits, the header has much higher chances to fit after the change. > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To post to this group, send email to kasan-dev@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/028eee50-f14f-034d-6e8a-9d07276543b5%40virtuozzo.com. > For more options, visit https://groups.google.com/d/optout.