Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2803733rwa; Mon, 22 Aug 2022 14:15:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR6vFYr7flaDXqVYQ3uk1oVjhREtYGRPnYxttPRIgN7CLjgQrEDykeRS4xAs9dGS+QrgYK4v X-Received: by 2002:a17:907:2d12:b0:731:6a4e:ceb0 with SMTP id gs18-20020a1709072d1200b007316a4eceb0mr14122515ejc.115.1661202938101; Mon, 22 Aug 2022 14:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661202938; cv=none; d=google.com; s=arc-20160816; b=TbH/vK/jFOQYztsXcqD9kb9RZREnZkxOBXwb0eQcR45HM2BH3/O8LVi8xFeHxWQ+n2 bg0Rg+fzu62EQAaIGSgNzy3OGTyJ+6DSgCmqftWUulSiZjiXgZy+fzrEE39e396no1H6 au6fndYUVRdG6ri/P42/D44YHVGVE9hhrY7OfG97sImRyn/tWNzMW8A7XB0B7gvzwaG4 EbyjW4qcldh5HIj1m1sdarVN4rBhMPl9qaFRFEaaBu3OE7Gw7+3ddnOu8blTY2+aWiow hWXPBPmKwBhmcC1nnGVXgvHwPtbEibAqd2o0IH6LLxUMoPwf2blo6i6D8iYjJSzM5IHH owvA== 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=8+w/4wN4Kn9IuMC++iFFlzp2WwbxqZ59X9FUeGfwhBk=; b=p8PWCwPCreRWvGHm82P7tSeo66dkkOCypfirKawMXCPF06rOId8ITXZ4OxCSnJp09f qwFR+g5Jm9zhuXW3STSX+DDOJKzs6qecWAoD+LH+Sbd23MdaVNnw7MWACM2CjwtsY40A bzgNeyRL5ONjFzO7Tavfsmq07YRDoZNFho9dDK/HhiPp1913M4xeL24wQ2ac9oTBBh+g /xMy9LjngHYmV6/XOj8scUTb3E09677/A9K34/FgasmOLdut36XYBGbV3aJWAV+AaJXN S9ijFQ5jmsw6/pw9G4RIUpLapUjy2de+kV3QfOE7aJLkb4liBdz/8Iyf9ekIBilg0D+k BUxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fYYniBxH; 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 di16-20020a170906731000b007312b22887asi780586ejc.973.2022.08.22.14.15.12; Mon, 22 Aug 2022 14:15:38 -0700 (PDT) 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=fYYniBxH; 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 S237475AbiHVU5q (ORCPT + 99 others); Mon, 22 Aug 2022 16:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237335AbiHVU5o (ORCPT ); Mon, 22 Aug 2022 16:57:44 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF3E52464 for ; Mon, 22 Aug 2022 13:57:42 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id gi31so17161719ejc.5 for ; Mon, 22 Aug 2022 13:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=8+w/4wN4Kn9IuMC++iFFlzp2WwbxqZ59X9FUeGfwhBk=; b=fYYniBxHiVwcF2BmK3KQ22wU18o0DH33kdvQM6owzc54phQZrADAhsB0KUNjBTW/4n KFBdJhx6Z5RaGTornUDAQGK5YUy58LxrDcvf420f1nAiTx++9ViqxzcvJqQsJNUw+OuF GihnHM+cOFx0Bv4xBwPad9Q6w8qsZXl+zK3E8dEzelty1iphcn04DW5GEBDCm/jMeb4T OCw+eBlz1p2gFFX0SxO7PjXrHiITKW14F8RKRy6DSuilWy1GqjXtCI89SfVsfhw9CCyK DGGfE9xAoFSC4CvnXV0F96uY1FSfdgkWzbv3QuRmkEntsc8VzqjjkBN3m9rUrHC9t1aB jtKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=8+w/4wN4Kn9IuMC++iFFlzp2WwbxqZ59X9FUeGfwhBk=; b=nE+aClZZ51ftq32wDQQZS64jKLFK5Efa7NTAgy0vvfByMQkbfZjKAk9n3WKF8YEqYQ Vb3EFNmU9BPSygdL+SllVEyuCfyavAYmdpVXUk0eGtX/OnpRqK8MV81fvEzniM+YiKuQ +sYG55k5xa1DlqFdAuNWqMW6LSUVY4A3pKzr4oA2i03mG4++unEUD9n1lBS2Xev70zTk efn8SE5LHkcS8y4z4K5tIascg7MjIEOyb4ARVD/od1FiLmmDYL5ocCW/SForfOTH/1aZ SbespPpXIA5LfHSUtwhWKE+zA6XyEs26lApUyW4MFgPrwST6hKFiWP6j5NlWe6cHloZ5 j1kw== X-Gm-Message-State: ACgBeo10TMBKgcjv7N0E88aywQhTY7PkQ/n/M1N3x0ReYGIs8CmGK0Qo v4o2zmlr3kzc2blGns2XHXHFJBIgFmwYcw1nWD4QTQ== X-Received: by 2002:a17:907:971d:b0:73d:78c8:77b5 with SMTP id jg29-20020a170907971d00b0073d78c877b5mr5455613ejc.631.1661201860966; Mon, 22 Aug 2022 13:57:40 -0700 (PDT) MIME-Version: 1.0 References: <20220817164851.3574140-1-joefradley@google.com> <20220817164851.3574140-3-joefradley@google.com> In-Reply-To: <20220817164851.3574140-3-joefradley@google.com> From: Brendan Higgins Date: Mon, 22 Aug 2022 16:57:29 -0400 Message-ID: Subject: Re: [PATCH 2/2] kunit: no longer call module_info(test, "Y") for kunit modules To: Joe Fradley Cc: Jonathan Corbet , Brendan Higgins , David Gow , kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com 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=unavailable 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 Wed, Aug 17, 2022 at 12:49 PM 'Joe Fradley' via KUnit Development wrote: > > Because KUnit test execution is not a guarantee with the kunit.enable > parameter we want to be careful to only taint the kernel only if an > actual test runs. Calling module_info(test, "Y") for every KUnit module > automatically causes the kernel to be tainted upon module load. Therefore, > we're removing this call and relying on the KUnit framework to taint the > kernel or not. > > Signed-off-by: Joe Fradley Reviewed-by: Brendan Higgins