Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3824599pxb; Mon, 21 Feb 2022 06:28:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzv35E7B82gFazwZ1JZI4/KGLD+Nc3eOry8ifXmYrI4yvREW23QQ1e640r2inRHynnGefa4 X-Received: by 2002:a17:906:32d0:b0:6ce:e1cf:3f2e with SMTP id k16-20020a17090632d000b006cee1cf3f2emr15447153ejk.214.1645453693721; Mon, 21 Feb 2022 06:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645453693; cv=none; d=google.com; s=arc-20160816; b=vzCeDHpKo2sU5u/riP4eOB/J3EBzjIsOywwhbFjbuSdD59dfWb9H/e09+yzRpaqD+r QQbb2VJgZ9+s9XhbYsxYFOQHES1+kpwjDX/D04GlsSC+iLfcyxcs8I+hvad089wB6nmH uUYdw7YU1YusnWcPifu7Ls553oNphSA/TK3JI6KlA/xp8h1+idXI20lt6GR2sMj86xhy Eu9KUd5xBg+kjOhkq4zPi0QjwYXGFa+Rf72z1ctrh3Th1W4cJguNroAF5zh+y5aNSXYz KkgQn3evCfhmYtJJCzXFFpWlafNGjGwqJQ6oaEUxCCvLTr8wXLCx0vY2HKKMY9oIH4Aw tYfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aW+puJnFP6GDgHHGWDtmoEv/OAIRXfNxeTuS1KHKS4k=; b=FBkxkNfmFjBl0suyJNnlxyWQnSqDJZwxk+d9BVtI2pM9q+AE0O8wEyWGebEqUboflI zMeL2TC25DhPM1nhn9kuS9GYySb7t1RhhUlfcaLRilmmJIdzX6wjooMtPmaXf0lrbjb3 /FqnJDnjr+9PhJTU8eC+rKNM/qshI2XSlXuqQfotI/x81RXdvVoC6wZCmg/ORdfDmS9w VM5rzdrTHlZN/CaTqHRHInDjoyp46w+bS9amuFJxu0GBWlo7CaeW5R3zElYUJXNo9zaA KDBz/ngSDgKu7YrzZGVtiEPRzY2XYnnlzd9zpBpb+g9A9d4sGINiL4qi1u+k4MBHS/cl H/hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ouaPUyc5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9si11724898edn.121.2022.02.21.06.27.50; Mon, 21 Feb 2022 06:28:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ouaPUyc5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1356137AbiBULXb (ORCPT + 99 others); Mon, 21 Feb 2022 06:23:31 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:54590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356299AbiBULXG (ORCPT ); Mon, 21 Feb 2022 06:23:06 -0500 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0849892 for ; Mon, 21 Feb 2022 03:15:25 -0800 (PST) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-2d6923bca1aso125049407b3.9 for ; Mon, 21 Feb 2022 03:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aW+puJnFP6GDgHHGWDtmoEv/OAIRXfNxeTuS1KHKS4k=; b=ouaPUyc5S5AFk1T7BxP0W0fhHLsDrC1X05D49SErp1xkWV9WjlDmH/BG8/BhlD++F9 AT+4MGNLApzlCASeujOqYro1ZV8advB1PdCWuxdmmgixehhzJykeKLDDOqbMg/JkzY/6 rnq12h426up1wRYeC10q6kegTee8TO07+5um77gBiNcyGEaIORHSDfbUM1BstxfamRP9 grWcbQpNcTxhADWewkL5NuY6rahD3ZCPdUdpAAEpS9eI5oznaRHDJmcFixfdLNo/u+WN E8+LgKgf0MghrhwbqqY0TSVIs7YPxomaod3TrD9B1Eoi7ak7V39fxTeek92jejy85ncN TLyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aW+puJnFP6GDgHHGWDtmoEv/OAIRXfNxeTuS1KHKS4k=; b=JYaRq1oTmKZRdD4J/JFhSyh14DGBd+sdGBp4OO4l4ee8StU1TN1iWQ27zCM8+lavyw r9zkpq7c561ahIM2WeDSOWMim7YlZ1R4Cf3MhZLJAccuHg5WIQArkZ2N/j1jJQ68tLHy JOvdUuc+pn6AmNtTPVKKbVQRrFJAaJS+T+czAUVTiIaywPIpAshj72bhMFojgGugXGiU cq4Ey+vzseWfHn41lA30cTzEDWOjGshdELHj4TTy3feTEqMK3yjqmD7yqv+b2JJkXCx+ BAuJUsE9Q+NGVVVsaTFc4PNnR6DIKi+T/kd8naDlzUNKWY99dWygL+FgzPBEpBCEgox4 w27Q== X-Gm-Message-State: AOAM5328RKTvQDbKvfxDE6DViBW8xJsC+W4KVoAe9xoiJOG5272/mMEa PUXxPx8SvkStu9gfvLud8w8Ftw6EUpCGbmidlcXC+nzihXvhcQ== X-Received: by 2002:a0d:fb07:0:b0:2ca:287c:6c97 with SMTP id l7-20020a0dfb07000000b002ca287c6c97mr18617337ywf.316.1645442123922; Mon, 21 Feb 2022 03:15:23 -0800 (PST) MIME-Version: 1.0 References: <20220219012433.890941-1-pcc@google.com> <7a6afd53-a5c8-1be3-83cc-832596702401@huawei.com> In-Reply-To: <7a6afd53-a5c8-1be3-83cc-832596702401@huawei.com> From: Marco Elver Date: Mon, 21 Feb 2022 12:15:12 +0100 Message-ID: Subject: Re: [PATCH] kasan: update function name in comments To: Miaohe Lin Cc: Peter Collingbourne , Andrew Morton , linux-mm@kvack.org, Andrey Konovalov , kasan-dev , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 19 Feb 2022 at 03:00, Miaohe Lin wrote: > > On 2022/2/19 9:24, Peter Collingbourne wrote: > > The function kasan_global_oob was renamed to kasan_global_oob_right, > > but the comments referring to it were not updated. Do so. > > > > Link: https://linux-review.googlesource.com/id/I20faa90126937bbee77d9d44709556c3dd4b40be > > Signed-off-by: Peter Collingbourne > > Fixes: e5f4728767d2 ("kasan: test: add globals left-out-of-bounds test") > > This Fixes tag is unneeded. > > Except the above nit, this patch looks good to me. Thanks. > > Reviewed-by: Miaohe Lin Reviewed-by: Marco Elver And yes, the Fixes tag should be removed to not have stable teams do unnecessary work. +Cc'ing missing mailing lists (use get_maintainers.pl - in particular, LKML is missing, which should always be Cc'd for archival purposes so that things like b4 can work properly). > > --- > > lib/test_kasan.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/lib/test_kasan.c b/lib/test_kasan.c > > index 26a5c9007653..a8dfda9b9630 100644 > > --- a/lib/test_kasan.c > > +++ b/lib/test_kasan.c > > @@ -780,7 +780,7 @@ static void ksize_uaf(struct kunit *test) > > static void kasan_stack_oob(struct kunit *test) > > { > > char stack_array[10]; > > - /* See comment in kasan_global_oob. */ > > + /* See comment in kasan_global_oob_right. */ > > char *volatile array = stack_array; > > char *p = &array[ARRAY_SIZE(stack_array) + OOB_TAG_OFF]; > > > > @@ -793,7 +793,7 @@ static void kasan_alloca_oob_left(struct kunit *test) > > { > > volatile int i = 10; > > char alloca_array[i]; > > - /* See comment in kasan_global_oob. */ > > + /* See comment in kasan_global_oob_right. */ > > char *volatile array = alloca_array; > > char *p = array - 1; > > > > @@ -808,7 +808,7 @@ static void kasan_alloca_oob_right(struct kunit *test) > > { > > volatile int i = 10; > > char alloca_array[i]; > > - /* See comment in kasan_global_oob. */ > > + /* See comment in kasan_global_oob_right. */ > > char *volatile array = alloca_array; > > char *p = array + i; > > > > >