Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1760316rdb; Mon, 9 Oct 2023 01:48:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbG+WaQvjfTkY6PQcOmK+SeriYFO630LKXWpk7DspBYvhQ3uRru2l7b515Usj3G9pEdE1J X-Received: by 2002:a05:6a00:b84:b0:68e:2b17:a729 with SMTP id g4-20020a056a000b8400b0068e2b17a729mr15283703pfj.24.1696841295866; Mon, 09 Oct 2023 01:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696841295; cv=none; d=google.com; s=arc-20160816; b=twYCl7a7ua7vN1snusxgynI8HH+u375uwKGI6Ia05rudqMXuLlmD+BoRSvOzq1v45O Ztjn+G11EXqjvsGc+lsyczPIF4HBUXTUgNBvuvPgnjivwQneTVwxGPcoFzFZV1+/PwHq +bs6Qcl2yOmMArI75DcfD8OB/yiDWYLG/8XjxCL+/r5fP2OAnECsSdGIYZaSrehY+4UP GwaEJktHvoDBgJKRy1dhg/fX6s2UjHHMNzpQvJRmPgbtPxad9nuKtdtEMo8rWSMrcDFY L1b7YXpD2Gx7+Bkd71Dyx6YA3X2QihhxqepDAUheDUVgkD55fuPxljvXfxO64zC+OAuX bOYw== 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=dE3lQgYQrglH+136jeW6uJyH+jXehuS7mvTlptTmP9s=; fh=q6y84gx18i99TfJF8tbibDRNSfyqMCePsVYLC6XVWHE=; b=bmPughCRa2cmBsE21oZzla90PvImVU8VsbFBf/5+T8wkZ2j3fJOSm6Pe9oulsByWjI oDMhPneuOWj+33671QA7MI2CKwIvpGAc2f653ESkHq1WlOfQXvlnp/g1DJhFD28dFb9v xWH4JBQivsXWuYbXL7onVTaqLPmEZmcIU3tyZjCSOz62c32DsHQAEaaBe+G/dBX88lxy zsXbM45VTXNZz+pNahok6+wKqcvEKakIv+wa/Sd89KPF2PlOFLk3mcF6RnQgtwoqi2nN An35xA1+ssVKPRgIilxPS41ZhUc1R0ICmTLBnHCKxShPWHdh30fZlZYik7sGWATOAacE 3tzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="sjP/CK2Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g18-20020a056a0023d200b0069102c864c5si7208543pfc.218.2023.10.09.01.48.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 01:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="sjP/CK2Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8DFB6805FD27; Mon, 9 Oct 2023 01:48:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345490AbjJIIsD (ORCPT + 99 others); Mon, 9 Oct 2023 04:48:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234477AbjJIIsC (ORCPT ); Mon, 9 Oct 2023 04:48:02 -0400 Received: from mail-vk1-xa35.google.com (mail-vk1-xa35.google.com [IPv6:2607:f8b0:4864:20::a35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E03B1AB for ; Mon, 9 Oct 2023 01:48:00 -0700 (PDT) Received: by mail-vk1-xa35.google.com with SMTP id 71dfb90a1353d-49d6bd3610cso1324757e0c.1 for ; Mon, 09 Oct 2023 01:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696841280; x=1697446080; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dE3lQgYQrglH+136jeW6uJyH+jXehuS7mvTlptTmP9s=; b=sjP/CK2QclDmAPix6CZDvC+6aSYEEmbGt2EpRDFDrUNV64goE7Xw+098Hp7IqHgKoO QuIrPULLwwJjG462nExLW+cfdMSBjE+dBa9xg4XwTndWO5BeBWnzC3qY6gS5eiiHktyP fRSIUaUH90XtB/A7JsnKlz15f00pgL1YURLi24zv6hU+KlXDWorZ/9TIQdTR4Wk1wlHW 0uOUWJIw0zblyMZuywOApb7w74eFJg0+2oajBwnmCPhfExI9v8VXpJfxURbUBXoy/exN 2l17Y4l/vLaGheeO+BcTX0xsTtUoLFIyjZgrtvnlFltlwFQsUTxckTARUcAC494cm4YP aafA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696841280; x=1697446080; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dE3lQgYQrglH+136jeW6uJyH+jXehuS7mvTlptTmP9s=; b=SQyakrR9iwQFrPxYAnzKQdXQVK2LwwBEHonyEIgOy/cSqDT2mqY/fxhXThgdtXaurN wVHA390LZIA6kJ5qb9nMd7nn1aVF50UoymW962+tKOrarNsW7xscVs/F+9VKawO6P/BA ms6iplwCVwna+Bv88QP3aC729GVlT9aX7NdenXbRgg/IgWj1f3AnzF1Nl9aYfe56Fnol rF9gNhGOXb1XjZY+MOre0E9qB0CQhUyaLp4JZkA8oWBzAs74/D787K1DIl0E/a4RodsL nOe+ds6ioeI5BZ64lSxiAamFZbWK2xVBU38iV4pZeq4IVyKL99OLg/EisiaWf2K7pOyW JRlg== X-Gm-Message-State: AOJu0YyGphsmqnrb4goEAB8rFUmq2H8H982hxeEDNsH/583zbRn3XyzS OBV1ymiw/ZnmkK1Le3zMYTx+Zz4TCV/zyfxdzOAvkA== X-Received: by 2002:a1f:d3c4:0:b0:49a:b9ed:8c22 with SMTP id k187-20020a1fd3c4000000b0049ab9ed8c22mr11374478vkg.9.1696841279791; Mon, 09 Oct 2023 01:47:59 -0700 (PDT) MIME-Version: 1.0 References: <6fad6661e72c407450ae4b385c71bc4a7e1579cd.1696605143.git.andreyknvl@google.com> In-Reply-To: <6fad6661e72c407450ae4b385c71bc4a7e1579cd.1696605143.git.andreyknvl@google.com> From: Marco Elver Date: Mon, 9 Oct 2023 10:47:23 +0200 Message-ID: Subject: Re: [PATCH 4/5] kasan: fix and update KUNIT_EXPECT_KASAN_FAIL comment To: andrey.konovalov@linux.dev Cc: Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov , kernel test robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 09 Oct 2023 01:48:13 -0700 (PDT) On Fri, 6 Oct 2023 at 17:18, wrote: > > From: Andrey Konovalov > > Update the comment for KUNIT_EXPECT_KASAN_FAIL to describe the parameters > this macro accepts. > > Also drop the mention of the "kasan_status" KUnit resource, as it no > longer exists. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202308171757.7V5YUcje-lkp@intel.com/ "Closes" isn't a valid tag? Reported-by + Link should be enough to attribute. > Signed-off-by: Andrey Konovalov Reviewed-by: Marco Elver > --- > mm/kasan/kasan_test.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/mm/kasan/kasan_test.c b/mm/kasan/kasan_test.c > index c707d6c6e019..2030c7ff7de9 100644 > --- a/mm/kasan/kasan_test.c > +++ b/mm/kasan/kasan_test.c > @@ -91,10 +91,11 @@ static void kasan_test_exit(struct kunit *test) > } > > /** > - * KUNIT_EXPECT_KASAN_FAIL() - check that the executed expression produces a > - * KASAN report; causes a test failure otherwise. This relies on a KUnit > - * resource named "kasan_status". Do not use this name for KUnit resources > - * outside of KASAN tests. > + * KUNIT_EXPECT_KASAN_FAIL - check that the executed expression produces a > + * KASAN report; causes a KUnit test failure otherwise. > + * > + * @test: Currently executing KUnit test. > + * @expression: Expression that must produce a KASAN report. > * > * For hardware tag-based KASAN, when a synchronous tag fault happens, tag > * checking is auto-disabled. When this happens, this test handler reenables > -- > 2.25.1 >