From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF6F1C433EF for ; Tue, 22 Feb 2022 16:38:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 63A988D0005; Tue, 22 Feb 2022 11:38:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E9608D0003; Tue, 22 Feb 2022 11:38:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4B18A8D0005; Tue, 22 Feb 2022 11:38:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0186.hostedemail.com [216.40.44.186]) by kanga.kvack.org (Postfix) with ESMTP id 3C5D98D0003 for ; Tue, 22 Feb 2022 11:38:31 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id E65659EB39 for ; Tue, 22 Feb 2022 16:38:30 +0000 (UTC) X-FDA: 79170973980.22.7197DE7 Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by imf03.hostedemail.com (Postfix) with ESMTP id 6862820010 for ; Tue, 22 Feb 2022 16:38:30 +0000 (UTC) Received: by mail-io1-f54.google.com with SMTP id e79so20835800iof.13 for ; Tue, 22 Feb 2022 08:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gaUFt5cz4HpPtDm0o8cdfugFG+XsepngyFVCM4tL2Mk=; b=nPbHQGL40vFqT0SKj6iE4wsH0xxgR/VdDJrg5A9YnZ/Z6bEZV9n2ia4xtOkDGRG4Mj tQtPwYgG9lGNki81i0n1NqsMnXUxxf8PbQJpI7e7zM+vy/WVKfhSdfe29s0kyKOLzOPC qj2JftlF7flj5juP1Gf3MdSOjwl1gEKunsX0j+03lQzmnow45pZJBEPD/7XRomorY5ZO nHi0j731ZCfg5tIrZ02NE5Mldw5MQZnbGX9oxivzWf9C8CUyt6rnqNybnrS2WxMpQ0kz 0VnM5CDtA+i6U3NKFU8cC/O4p6QIN1MRyzbrCGETZlxIK/yRC+Aki/nMxjvuRRfHpbiL 1wDA== 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=gaUFt5cz4HpPtDm0o8cdfugFG+XsepngyFVCM4tL2Mk=; b=D2k2AvdZJ3Zpp5gKF/fDUlN4Sacn9Tiqj+YJH6k9rk8nhx1u+Jb4SM80u59Z4kqmeg WY7a2RYv7GK5sN3IQ32uxFZDT6ZiOm0kwj+tRdFWNmOEm8JJqeHNxnry00Qg4M2su2qw SARERi5s5twJNKXcIqPaOAZEmwXaoeby/uq9TYjUMU27vtZwBCM0PghKMoLLcLJlpRga UyoW1barSaq0J8VNdkNqZBZFek3j3BhzKj7yvVwUctPnZmXEsHQpjvO/K3YBTZcbL/d8 WysOu2YB9/Q6ry6pmSbp8a4NC0qvHuKKuiG9ZOfCiP+vOiy5JYzP1ddllb0q1/bJ3RL6 6IlQ== X-Gm-Message-State: AOAM532MnQIHhpWmwjbcd1k/iWNhu3h6yOe7cPC3Fd7a2YGI9VLMXg5Z WKiDM69vi8Kz+s3oz5dA4KDMNV2FJk4mEdTYhyI= X-Google-Smtp-Source: ABdhPJze1bzdKsDxSZwwQwLi/b8sng3b5D1UPJ8yYV94Lzn2sjAiSK9xsp717qtZs28HEnZndsD1bFTYoFenf5k1lQI= X-Received: by 2002:a02:5d05:0:b0:302:fc10:fa7e with SMTP id w5-20020a025d05000000b00302fc10fa7emr19734706jaa.9.1645547909652; Tue, 22 Feb 2022 08:38:29 -0800 (PST) MIME-Version: 1.0 References: <20220219012433.890941-1-pcc@google.com> In-Reply-To: <20220219012433.890941-1-pcc@google.com> From: Andrey Konovalov Date: Tue, 22 Feb 2022 17:38:18 +0100 Message-ID: Subject: Re: [PATCH] kasan: update function name in comments To: Peter Collingbourne Cc: Marco Elver , Andrew Morton , Linux Memory Management List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 6862820010 X-Stat-Signature: fifcya4xbng63piafrwrhyukidu55cc6 Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nPbHQGL4; spf=pass (imf03.hostedemail.com: domain of andreyknvl@gmail.com designates 209.85.166.54 as permitted sender) smtp.mailfrom=andreyknvl@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspam-User: X-HE-Tag: 1645547910-182044 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, Feb 19, 2022 at 2:24 AM 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") > --- > 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; > > -- > 2.35.1.473.g83b2b277ed-goog > Reviewed-by: Andrey Konovalov