Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp282273ybm; Wed, 22 May 2019 03:06:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwY5NIOz6vBGiXmfu5cXWkvxJfO+F7fVmkTitdB44DGcImqzj5f1oGMAHyB6y0WVM88oFiZ X-Received: by 2002:a62:cfc4:: with SMTP id b187mr96764096pfg.134.1558519590140; Wed, 22 May 2019 03:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558519590; cv=none; d=google.com; s=arc-20160816; b=CU4C6u+5YM0qS/XV55JuPz4pkqdKz4XcYscbf6X4CdKE/wsbs25h0KgBv4nmjw6jZq g52LnMrokA3BgRkisR0L6/ZdVaAwKli4R9VaRRMnJusdMA5i+PuL7gv5pf0KWtBmyjl6 jdVEhS3ylBF3Tv5qoXqZrA1M6wL6/mNAkVQcdItMvjTqMmtIJE3XU5jTh9M0VPlVywFy oK93Irq7vAx8jBCqNmgfzNh151r+j/kiwYPjOBLzPeEHv7OrCdbxlzp/NnR7B0u+4aNc POB14bms9eZatMs02tmsAWSq3XQYK+yaWvNH/5y5tDipwJ2SjN8I1dxhRClECu+iFi4s yKfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=47TiyBCz41Yx1Bv/NNksDp+zVbcuSGdQexnBZ0Z9rP4=; b=aUZqc1K/EPzKikdELtyBFQe+Pid5MRu7h2fGAKkitwJF2e8wh9QuE54qqHmYB/dHH7 OIV8UYWsU+NyryxYpE0Z0JoWyZH9ZfcFBQ49uPaAhNKAs8Yd22CqT6HaJ09008K1AR90 hZWeUp2cpNTaOkeFTxKHJnoRsVBh3prEGEOhJ2oeREIQjCkF7x+5aI6WmxI3rN8avGtL 4tlDatINoVtLStOvr4IHsBffpnvELXuulMxw05EwHRjOgG7rjERwUQOJhRegddlzlpM1 W7uUgC/gNTFPYuUROQg5v/FA0QMTv/N8YnN/6dSP2Rhu0GKZCY78QYO8+TJYWWfG1PrA a4LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Hxk6PkJx; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126si25399198pgc.2.2019.05.22.03.06.13; Wed, 22 May 2019 03:06:30 -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=@google.com header.s=20161025 header.b=Hxk6PkJx; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729116AbfEVKC7 (ORCPT + 99 others); Wed, 22 May 2019 06:02:59 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:39629 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728584AbfEVKC6 (ORCPT ); Wed, 22 May 2019 06:02:58 -0400 Received: by mail-oi1-f196.google.com with SMTP id v2so1136770oie.6 for ; Wed, 22 May 2019 03:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=47TiyBCz41Yx1Bv/NNksDp+zVbcuSGdQexnBZ0Z9rP4=; b=Hxk6PkJx0M1SEl/EATamZoo1PbzAmcXNEwVjqmBc+SnUwmrdzF2iuUVjWEjQ6cI+fR 67M5NTPxRJOcMbUUkAWrsfwRUyL6YyPpbzv89mnmsCa+sRIJGeOnSwS9nyn5CM+vzhGE hxE0bbOlNDDP5d+gog20x4heHjwnStDaj7Xy2R2YlPenUJz6iZoqb5Em/Ynp6TUvs/zv YVJ21wXJTwNi5pm9CBizLH4TY4HK1XmXxvq2U4kdq8YXhcteZnMwKitwhW4bHxVozsbf MM7ZMDCGprZ82beyTbXJh00k98J4Hqp4EDcTqF5Xw91mVShWdm/gvFO3/lYki/81Kgjs 2jCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=47TiyBCz41Yx1Bv/NNksDp+zVbcuSGdQexnBZ0Z9rP4=; b=m9gggfBhqHZTvvDBuPYk0kRRVxFXbTcbxf607z7+SD2KbeUmKZB0T4FHBlp0G8LFDW oAs4H6DngMfiFHt+LDnOoXax1DWYxvzywsF5IA5FBkZ5EZKUCi4ov44nNNbgbOQOvHhL k7sl1dAEyWBz7hNCK2Kv+k06qAC0ZCP3splyryJK6hkHFea0ecWnI2UtY5MKbJnAIuf1 Fp+0n47KewczHFOhEMcUe/vEoDsc9saT9PFVIOV/5mi9ooyfIqF6TP2/rvH9pkLRPy8j QPY31Jm70LF9ciDHUUB62OCpGVaPU/YTz4gpkrYQg3SxU6oQvw0wXaLtCV0cm6SaKJZa KUBw== X-Gm-Message-State: APjAAAUgmhGipDeEjlj5J9Egb4dYjIJoMRquLigqoyAHRCljLaIuMWqN UpD/0P9oHHuQ06rvZjutonikzogxSO3pJA+JhkZyVg== X-Received: by 2002:aca:e044:: with SMTP id x65mr4232447oig.70.1558519377524; Wed, 22 May 2019 03:02:57 -0700 (PDT) MIME-Version: 1.0 References: <20190517131046.164100-1-elver@google.com> <201905190408.ieVAcUi7%lkp@intel.com> <20190521191050.b8ddb9bb660d13330896529e@linux-foundation.org> In-Reply-To: <20190521191050.b8ddb9bb660d13330896529e@linux-foundation.org> From: Marco Elver Date: Wed, 22 May 2019 12:02:46 +0200 Message-ID: Subject: Re: [PATCH] mm/kasan: Print frame description for stack bugs To: Andrew Morton Cc: kbuild test robot , kbuild-all@01.org, Andrey Ryabinin , Dmitry Vyukov , Alexander Potapenko , Andrey Konovalov , LKML , Linux Memory Management List , kasan-dev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I've sent v3. If possible, please replace current version with v3, which also includes the fix. Many thanks, -- Marco On Wed, 22 May 2019 at 04:10, Andrew Morton wrote: > > 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); > } > } > > _ > > -- > 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/20190521191050.b8ddb9bb660d13330896529e%40linux-foundation.org. > For more options, visit https://groups.google.com/d/optout.