Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1677110ybm; Tue, 21 May 2019 19:12:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVIo/pSslFLFwdIHEHQoCr3ts98HDhcJ0q1zSgf91HPi5edOt3PKNPozcp61wyCHFpffti X-Received: by 2002:a63:a709:: with SMTP id d9mr18620783pgf.263.1558491174895; Tue, 21 May 2019 19:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558491174; cv=none; d=google.com; s=arc-20160816; b=AK+vjQNpXWLI5CzNsf/9lng81RvLdVO8Yd3O5DJm5a05NwWr0rXOAkitclkaFRUlK6 j+eswYTvGSdfmh0ndMHmmjMtFxXjuY0MGKuVdFW5TrZ8u5yKOA9Kicr/O0A5cJ7DyAC+ cw30RyVxI4lMrivMooD4h7KlrqrnaS308vKQlHdl9yhT0ac+BreKNaYXWnxt0fri1DEG tGRbwxk4cpnOeHDK5nTZhMQMP0PwwF4l5tnFcrrl+R4vfgxeBQeNZV49D8Jn+2VVsHXQ RCE8jGu0OLh4cF5MMjuKlkIKduLahGE6F8VkGE/4CtzOW117Wx59uIrIrlIP/4jityWr mVFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=RVmoZC3/WwvW7DNufwo4WuA5HxB5+/gVkqe4H16ZSn4=; b=oebo3z3cvbnMfD4Yk2Fj52E8lYOiAUQGgaffeQoUUIpqFOb6l8zHSPEkTEt+/TaWf1 Qjk5usmDuggbu8B2l4VjWzEYKa9PLiv3IZ2tB4VE7Ma9AvY6WcrTAHfi2gM5VTMTxcFn bGxadEfFrEyzQean1vgjgB7/NrjirJ8ttk8okO1rPMAhp0Xyx1TqmDRsahA2LpfwVI0A tjX+y5cy7U85PFm3dp4ivI66HXiWF4RGLOAMa1Ru6Xn8QXuhZaWomyokQBm0Jcog+ab1 adGT7tIN2/+4TloPP9e1Oi/ig0vTIhCnF5xZbAFDRRZ7CslB++StGgutyTu1e1F7BU8Z 9WNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KIGFNpsD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si23472448plp.223.2019.05.21.19.12.37; Tue, 21 May 2019 19:12:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KIGFNpsD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728085AbfEVCKw (ORCPT + 99 others); Tue, 21 May 2019 22:10:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:36232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727294AbfEVCKw (ORCPT ); Tue, 21 May 2019 22:10:52 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 157A6217D7; Wed, 22 May 2019 02:10:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558491051; bh=1ih48PI12kkUWV1gxUVEAlub4RsQgr7FS/vJ1I+lyVA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KIGFNpsDdLIOqnE7XDF5rYo0tqQY9FfacESF9YLB4BPT4od6Lx5POSWD/pxhrNCaR BW4MvmqV471h3ck5LHF2z+9/OEZDNUkx7X+Q2qbEI2Dxl3wk+mxwFqhLm8KAZqf5ZB X6Z7JKA9ePiZfYMjNNaurLH1DEAuFC+nrdqNbKnc= Date: Tue, 21 May 2019 19:10:50 -0700 From: Andrew Morton To: kbuild test robot Cc: Marco Elver , kbuild-all@01.org, aryabinin@virtuozzo.com, dvyukov@google.com, glider@google.com, andreyknvl@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com Subject: Re: [PATCH] mm/kasan: Print frame description for stack bugs Message-Id: <20190521191050.b8ddb9bb660d13330896529e@linux-foundation.org> In-Reply-To: <201905190408.ieVAcUi7%lkp@intel.com> References: <20190517131046.164100-1-elver@google.com> <201905190408.ieVAcUi7%lkp@intel.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 19 May 2019 04:48:21 +0800 kbuild test robot wrote: > Hi Marco, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v5.1 next-20190517] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Marco-Elver/mm-kasan-Print-frame-description-for-stack-bugs/20190519-040214 > config: xtensa-allyesconfig (attached as .config) > compiler: xtensa-linux-gcc (GCC) 8.1.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=xtensa > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > This, I assume? --- a/mm/kasan/report.c~mm-kasan-print-frame-description-for-stack-bugs-fix +++ a/mm/kasan/report.c @@ -230,7 +230,7 @@ static void print_decoded_frame_descr(co return; pr_err("\n"); - pr_err("this frame has %zu %s:\n", num_objects, + pr_err("this frame has %lu %s:\n", num_objects, num_objects == 1 ? "object" : "objects"); while (num_objects--) { @@ -257,7 +257,7 @@ static void print_decoded_frame_descr(co strreplace(token, ':', '\0'); /* Finally, print object information. */ - pr_err(" [%zu, %zu) '%s'", offset, offset + size, token); + pr_err(" [%lu, %lu) '%s'", offset, offset + size, token); } } _