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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB1DEC64EC5 for ; Thu, 2 Feb 2023 15:55:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233314AbjBBPzb (ORCPT ); Thu, 2 Feb 2023 10:55:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233155AbjBBPzA (ORCPT ); Thu, 2 Feb 2023 10:55:00 -0500 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 221F365EE1 for ; Thu, 2 Feb 2023 07:54:48 -0800 (PST) Received: by mail-il1-x12f.google.com with SMTP id h18so916944ilj.6 for ; Thu, 02 Feb 2023 07:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=QviJa5qI39tAiH+EiEAx1tSCEeoDFb1KygwG46vo/pc=; b=IByEkE/QTfZyYgc54DudkJ9C4OzJ7wrd15HwWBREBzET6HrzJl4/tJH6pm+20aGdjB 4Un4q1V99zCeU+B0LEJqJr94BIJcpbx9ey/qAAsZUOwmDjtbYwVWmUNKc7WytVwT+6t4 wYbv24H6hq1cCRKWKen2A1Gk+5xIW4Ofvspjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QviJa5qI39tAiH+EiEAx1tSCEeoDFb1KygwG46vo/pc=; b=cYHCKX0QqXfF4RxOfLQ5lJ8v0ZU9xj+wm+Ry4piPUfeMU5nlcTs/+0DiT2bcqqJH5I rhF3mEZHzvNI6LXCuQH/QfV4jqZMdbQIVnl+bT0EHz+/F08yxW6HbjvW9YeJ5ASGR7P7 +aJsC+QBPHt/3UUWJ814MBwR4Ys+DPcZniMaZdzVvHddFUJb/pY66YQ+GMK4AXnETv/G Z3zEPWrdzUSkF3Nm6qnQPFxC7TrCJNWVPnr76tMUbj2K8/Hx5hoHLYnL4Rpss+VR6SR0 AYIXDtDPIn33JBW6f8XdlrhkwwaYCN9TWACHpKk63AnCsx4XdddyTOMDo1j6vAbIuxy8 JE2Q== X-Gm-Message-State: AO0yUKVHme/rxnxWAbzUH9GMVFhzSzv+lliH8ZTmHiwJWORauwGK5zvd UA2iA9FIzI8i+RZ1U6xymXH4kA== X-Google-Smtp-Source: AK7set9aAW6w80jF/hDK5HoNXYRly8m8EogWAmAnxNP+3TiB5O07eQGyh9B95hKOfJt0zfnDjInVMw== X-Received: by 2002:a05:6e02:152:b0:310:cc70:a152 with SMTP id j18-20020a056e02015200b00310cc70a152mr4451064ilr.2.1675353287260; Thu, 02 Feb 2023 07:54:47 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id d191-20020a0262c8000000b00346a98b0a76sm23084jac.77.2023.02.02.07.54.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Feb 2023 07:54:46 -0800 (PST) Content-Type: multipart/mixed; boundary="------------Jkey07lptSQW11mJ5KpqixFF" Message-ID: <3e3c7d22-6338-87e0-314a-883429ba8ff0@linuxfoundation.org> Date: Thu, 2 Feb 2023 08:54:45 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US To: Linus Torvalds Cc: Shuah Khan , Brendan Higgins , David Gow , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah From: Shuah Khan Subject: [GIT PULL] KUnit fixes update for Linux 6.2-rc7 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------Jkey07lptSQW11mJ5KpqixFF 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.2-rc7. This KUnit fixes update for Linux 6.2-rc7 consists of 3 fixes to bugs that cause kernel crash, link error during build, and a third to fix kunit_test_init_section_suites() extra indirection issue. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98: Linux 6.2-rc2 (2023-01-01 13:53:16 -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.2-rc7 for you to fetch changes up to 254c71374a70051a043676b67ba4f7ad392b5fe6: kunit: fix kunit_test_init_section_suites(...) (2023-01-31 09:10:38 -0700) ---------------------------------------------------------------- linux-kselftest-kunit-fixes-6.2-rc7 This KUnit fixes update for Linux 6.2-rc7 consists of 3 fixes to bugs that cause kernel crash, link error during build, and a third to fix kunit_test_init_section_suites() extra indirection issue. ---------------------------------------------------------------- Arnd Bergmann (1): kunit: Export kunit_running() Brendan Higgins (1): kunit: fix kunit_test_init_section_suites(...) Rae Moar (1): kunit: fix bug in KUNIT_EXPECT_MEMEQ include/kunit/test.h | 6 +++--- lib/kunit/assert.c | 40 +++++++++++++++++++++++++--------------- lib/kunit/test.c | 1 + 3 files changed, 29 insertions(+), 18 deletions(-) ---------------------------------------------------------------- --------------Jkey07lptSQW11mJ5KpqixFF Content-Type: text/x-patch; charset=UTF-8; name="linux-kselftest-kunit-fixes-6.2-rc7.diff" Content-Disposition: attachment; filename="linux-kselftest-kunit-fixes-6.2-rc7.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2luY2x1ZGUva3VuaX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