Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp453685rdb; Thu, 30 Nov 2023 08:58:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9mdvHPEd5vHGI/FMV7lvdV3IuTH+urWwZHqOsZArYylzKVdu7Wp8zS9+xZX3qaga0NXcp X-Received: by 2002:a17:90a:49c1:b0:285:6565:fd15 with SMTP id l1-20020a17090a49c100b002856565fd15mr22484417pjm.12.1701363536950; Thu, 30 Nov 2023 08:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363536; cv=none; d=google.com; s=arc-20160816; b=arJOMj0dw1IKsUGJ/1NjyT2vGVjYeVUqNX2W1zaJlK3C9DYtuQyl8tGhXqc3YiDTOC 6T6lckuImWT1PTYU0xquXUtIQmJY1TcE6LzJZjjCvlkEN+D8MzYRoyeuD26McjUF2iM/ LOdbiUYKTzNyBrxrvFAEwf1ySToNlb4tjRgqcRG/n6JdhUa6Q3ytSl4WKTpMfPp7QPZS Ol+/VmMC/HAPndsFOMrJWdf15iJ7+gsy81YlymGkbp9udolr6yFDO8yVLQEIXxcdFHza 7mIIQHOyst3ETkrdK1BYlnHMS8USIsgp930pcI2l52j72c4Jt/KbNOkp/mNkyti+M7Kj B49Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:from:cc:to:content-language:user-agent :mime-version:date:message-id:dkim-signature; bh=kjfGUOrzOcR4VCFCR9ZAuqiy4DmfY+gNhzhv4Uomr1U=; fh=usy42MyMkfrGHSsj8elJQQoy08d4EDCB3Z2lzQHiTrg=; b=ul8yvTDddwy0PUUSTUEILIjm832laoiSymCEkE+LPz9nrR2t5QdyeI6fluwcpt4VNX A19T0ntpDEo002G21f4kY0O7FXDLFXv8hQvI4wEeo9ioIgZ5DmjoyKuG2+wcThP4mGKt i34yt56zxmc46TbQNDFN4Q7R3h2Bf193dGWWrGvrkUG5AOR8ac3ScGf+JNP3ErWk5t1j NefaQWRru8ITk4DWF5BtZQOu4VsHdSfSo8PaR1Bk0tLR61ibWfHQa5BewOTCWPyvrXI5 pjOvL7Hbs2KhOJzWj93y8k6AbfmskvHJVwVCQ7Tr3CVvzd/Agqh87mqOOvNgcfH+8+xQ VjMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=F8OqNkGU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id x1-20020a17090a6c0100b00285256a3127si3902860pjj.132.2023.11.30.08.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:58:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=F8OqNkGU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 92049802370B; Thu, 30 Nov 2023 08:58:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232292AbjK3Q6h (ORCPT + 99 others); Thu, 30 Nov 2023 11:58:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231856AbjK3Q6f (ORCPT ); Thu, 30 Nov 2023 11:58:35 -0500 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEA43D67 for ; Thu, 30 Nov 2023 08:58:40 -0800 (PST) Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-7b359dad0e7so14296639f.0 for ; Thu, 30 Nov 2023 08:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1701363520; x=1701968320; darn=vger.kernel.org; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=kjfGUOrzOcR4VCFCR9ZAuqiy4DmfY+gNhzhv4Uomr1U=; b=F8OqNkGUafd5FWrSsioFV9IZrJ1u9pnpNnVr4UWnBECGKZ2jP41b9BIVe55bWrAwGn KMSV3xt9y738n3YnEcf2yp0edMKSD2EpxQXMc7+ftAj7H7H6X+zLSLPSG5ZH5VUrqhVm a/unZ30ed5vOGbSO0IXeGe0Gi0vznQZhMWgrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701363520; x=1701968320; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kjfGUOrzOcR4VCFCR9ZAuqiy4DmfY+gNhzhv4Uomr1U=; b=bBDW+dQcOg3K2/Eej3omIm954jykmFfH/X2ZM3WG9hbkRszLsaTpnvvA78CF+PnYIb 1RUJV1aNz9AGRC2V7iyH7muL/BNJUqR7apJtlcMkfIw45yWBjMULVJbfPLWUcCmMiyrG hOrB8qQToGivWbqLStoU8XsAndm1He4UFUKiQ1Tvo77Ax0puBAAbnOCyETIBGB1sPh2F bjJga7m97fBAyYZIJbVK1VkOIq6O7cxlkoXHGJA6hJep5ymfVdeOOx2qFlCcpO3ClPGR wEonzcB/Sjs01JN/RZshorZPOYIWYn4tkDK0G4w+jziTai7pkL/cvv+/7kzREAZp49SD 8uPQ== X-Gm-Message-State: AOJu0Yx3tC2yHODnfflAt0GiqEAL6+RUXAXW+SGmbN8R2BF12MQaOmHX zawZUaJIIi4LLkDQOdEWV+WYP3kYlwXa2Fbb3QE= X-Received: by 2002:a05:6e02:b4a:b0:35c:baec:750c with SMTP id f10-20020a056e020b4a00b0035cbaec750cmr2483295ilu.1.1701363520298; Thu, 30 Nov 2023 08:58:40 -0800 (PST) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id d15-20020a056e021c4f00b0035c8c6045cfsm213266ilg.72.2023.11.30.08.58.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 08:58:39 -0800 (PST) Content-Type: multipart/mixed; boundary="------------6IEXtfpLNI6JnAsB035VsGjN" Message-ID: Date: Thu, 30 Nov 2023 09:58:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linus Torvalds Cc: Shuah Khan , shuah , Brendan Higgins , David Gow , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org From: Shuah Khan Subject: [GIT PULL] KUnit fixes update for Linux 6.7-rc4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:58:53 -0800 (PST) This is a multi-part message in MIME format. --------------6IEXtfpLNI6JnAsB035VsGjN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Linus, Please pull the following KUnit fixes update for Linux 6.7-rc4. This KUnit fixes update for Linux 6.7-rc4 consists of three fixes to warnings and run-time test behavior. With these fixes, test suite counter will be reset correctly before running tests, kunit will warn if tests are too slow, and eliminate warning when kfree() as an action. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-kunit-fixes-6.7-rc4 for you to fetch changes up to 1bddcf77ce6668692fc15e968fd0870d5524d112: kunit: test: Avoid cast warning when adding kfree() as an action (2023-11-14 13:01:57 -0700) ---------------------------------------------------------------- linux_kselftest-kunit-fixes-6.7-rc4 This KUnit fixes update for Linux 6.7-rc4 consists of three fixes to warnings and run-time test behavior. With these fixes, test suite counter will be reset correctly before running tests, kunit will warn if tests are too slow, and eliminate warning when kfree() as an action. ---------------------------------------------------------------- Maxime Ripard (1): kunit: Warn if tests are slow Michal Wajdeczko (1): kunit: Reset suite counter right before running tests Richard Fitzgerald (1): kunit: test: Avoid cast warning when adding kfree() as an action lib/kunit/kunit-test.c | 2 +- lib/kunit/test.c | 42 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 41 insertions(+), 3 deletions(-) ---------------------------------------------------------------- --------------6IEXtfpLNI6JnAsB035VsGjN Content-Type: text/x-patch; charset=UTF-8; name="linux_kselftest-kunit-fixes-6.7-rc4.diff" Content-Disposition: attachment; filename="linux_kselftest-kunit-fixes-6.7-rc4.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpYi9rdW5pdC9rdW5pdC10ZXN0LmMgYi9saWIva3VuaXQva3VuaXQt dGVzdC5jCmluZGV4IDk5ZDJhM2E1MjhlM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