Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp247797rdh; Tue, 13 Feb 2024 16:07:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWrtl373gnfRTFV6hhRKISOrNl+f8a3Lapeg87cWLNCDsh6KPCii6xFZjVDbPli1qrllkeGWkFZV246Eu3RpZLD+mK/gkm5rJ6ufW9J7A== X-Google-Smtp-Source: AGHT+IH946XKFwQ10h1ysQhj/gncsGqXtLcXDcw0dDX4hUg0U5XTY6kuZYy3PYnjwEiXWhU8k8zS X-Received: by 2002:a05:622a:1a8d:b0:42c:66af:e1d0 with SMTP id s13-20020a05622a1a8d00b0042c66afe1d0mr1170975qtc.33.1707869231430; Tue, 13 Feb 2024 16:07:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707869231; cv=pass; d=google.com; s=arc-20160816; b=CHBPl3DT3r5vpTF7445t5fQVt7nBhkT83MDxz9Jv7TQ7mCGYuf8+uWLwZCFn09zIJr nEmCEtSu7dQtGhxPcc7uz1haPEAESWfR5zlwif+YC2NqG4V3q+X/Jdlua8K2rnFj136x jQJCWjY5hrVocOybUUUp4G83wTEzAB98IsYWbyQG2IhJID3Y7uashpyjlb0OjY+tAeZj 9cQ5Fu9qEsumAD5SoBYDVa/BESKAb+IVH4frbQNUtQece0b8rDMWHY0qWmVSC5CTAMvF 6pRRjXVpbKnh/qMPpig70rU/w0j1fgOP+CovW/ASudtKF2BurrVWAqDThyaeY6SZQXDC YY4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:from:cc:to:content-language:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=GhnQu6FmXGPVZCi3UFjGPAyQfbh2TxR1NXwH/TlSM+w=; fh=a/Ria8mAPOgjlyncT3LSS1DXbaVEhu35Bywo8nMX+y8=; b=Ke4emVk2m7PsCUef9JBp5HUFCGl06+1X4FOOwPP4XuMqmBV6dXYz2B86VuCq/Fc3qf G8OtFVBH5Km5sHn7O+Sve7mHIiD9jzZ3TOf4qhDmoVJAVZ1N82WoBwQN0NIwM1TtRmIo WfrLeFLO7mWX7/JvSidp3fQdLix6l40iaL3snvOzkkkvtdaBmHKuyVhpQoHr0+HkudoT +YWyMAQGHVtz//k1P8LAwIZkn4qnV+azlLES6gZtvL4QC86lHegJLWl0HzRzlXCk9cPg pT7GgYHm/LSWRLNg0aiBy3Z3kQG36vl6oaZzpzFM08BQl/+o7OYJPvYlijO+YbHdpMX3 dVkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QwE61G5Q; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCUVccypzuqIxWIQlcigqY4tOkRtu/lM0IFwTxaBFFjQzuGpn7vicHg26ghK9a1zS6o9ip0Kyf7+uEvW1GmRZYFimzL/GzpsUr8rCHPxxw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d3-20020ac851c3000000b0042c41062a37si3796782qtn.625.2024.02.13.16.07.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 16:07:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QwE61G5Q; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64596-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 26EB51C228BB for ; Wed, 14 Feb 2024 00:07:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D162A566D; Wed, 14 Feb 2024 00:07:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QwE61G5Q" Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 136C94A00 for ; Wed, 14 Feb 2024 00:06:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707869221; cv=none; b=a3Iaw6msqAFwuVKXZPm2EZvOZiiaFQ2dDTKkPA1LWQxeY/Rwi3QDmd5J2kmA4uXnuuXC0dv3viVizRUTbVDn0sqE2gt2w+4YwillTWSKWS3ZTQysjWx7PZOKcFjck7++kOYE97YFYgJvz5IERW9CzGAfXSionixGyaRAiJzhUf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707869221; c=relaxed/simple; bh=kRl2xvjnEqYqUWOmQ7ofjTzJ/cSkkaVkiE+7IUsfJIA=; h=Content-Type:Message-ID:Date:MIME-Version:To:Cc:From:Subject; b=Otxs3ZUuhUD9nE7/jiFGsv9RUfE+xbNKyecggNtwvH9BoVHmdHZ6tJqAUeMCNkwfI0Xr3CKp//hKiX2CdOjLqXuPo9jirxM79J2ZVEO31WQhXTSFq5M0R4wauI7ctkUAXSGnMjTHDSUT+B+yiRn9h0NDofaOW/hVbUZaOCdB8vs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QwE61G5Q; arc=none smtp.client-ip=209.85.166.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-7bff2f6080aso25360139f.1 for ; Tue, 13 Feb 2024 16:06:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1707869219; x=1708474019; 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=GhnQu6FmXGPVZCi3UFjGPAyQfbh2TxR1NXwH/TlSM+w=; b=QwE61G5QxGU6+NPISDK5K/zPcZoewOWpMO53VHQQhTvAeiRApupQZRirnDOMz4Mr7D osl1qNBUquu6R7VqofaZUxuBAOZM+vsMGUPrlcPZpsXy+MOq+b4geSgiMsdhIzm4XdbJ jGIt6QuSn8rJ/KaVXEsm2qa61KPBH6zymYsU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707869219; x=1708474019; 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=GhnQu6FmXGPVZCi3UFjGPAyQfbh2TxR1NXwH/TlSM+w=; b=a+AmvXc7h5fXulNVqRjgpXdnMk4/5OWNRgZfjSW/4wwoE7VxNPjMqUI9yEyXzyFN9v 3yjyomy9PZiHeoJFEWfrSkCEv97KKhNd35OjPcSJN8z/ALgM0sFrEDGZeSI9wjFQ3gzD QAIXCAg8HJMunRWqL75K+PNnrSglY6RZBN3rpkaIAGqLgWGmoH0SHj44WGKnHGsdQaJP GrvJNW232qJnwMMP5iJ8SA1JOj2XMcc/FzHSBFAKn5OxzuLJgY65UBEvaJNHFHKdRfhj EA7PrSTJyQ/S5qSY95OumQzaW1rYKPZaysPMgqyBK9MC7/8jFaFcSJaH3UpiQPbRV38v BYJQ== X-Forwarded-Encrypted: i=1; AJvYcCXNcGGIe1w3iwTKJrXBfmIrpxC3cKtgpF8H8h6ZnRQwCGIo+BOdZwNkpQoYoRXVZywcQeGBgiAwIBvRxYjXEbw5Qda2glljpa+OZO57 X-Gm-Message-State: AOJu0YzQ/Vb9R71+/WIyNbBwgM6jnExKvsZ41ILx6WSHlMfOJLeKLQEV mJO1nd5OyhIMhDPLi1/3d3HtDRZ3C/dpdZojtNInXGfCJ+R1LNwRENsSCCCjWKI= X-Received: by 2002:a6b:fe01:0:b0:7c4:8032:5724 with SMTP id x1-20020a6bfe01000000b007c480325724mr809467ioh.0.1707869219183; Tue, 13 Feb 2024 16:06:59 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXA4aTCw0RK9urTQ3ld4zkHTrIyDI62ZmJAw8XHTRnc+Cf9qmTZe9wUE4VytcuFEsKt28Assj+UwSbhwoKX1NH6EefWt9fsDYDqnZ4KSda9xxk2H3KI3oRUb0M3+TL6c7q8urMVMQgGg0aD/HORoX4GxOTZO6AUfDk6Mfy5td1nOyRw9JWXlHTE7ozVe12yoCDqpHIn574Da3TVmICHwQKIYphqF13wLv3vMRQYtn3CnJyfoUrutyZn Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id u25-20020a02cbd9000000b0047129817ee3sm2209721jaq.141.2024.02.13.16.06.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 16:06:58 -0800 (PST) Content-Type: multipart/mixed; boundary="------------BEVlR5zmYlGmqCSr00K4AOwP" Message-ID: <876716d6-f865-42cb-94d0-67e9193a96f3@linuxfoundation.org> Date: Tue, 13 Feb 2024 17:06:58 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linus Torvalds Cc: shuah , Shuah Khan , 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.8-rc5 This is a multi-part message in MIME format. --------------BEVlR5zmYlGmqCSr00K4AOwP 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.8-rc5. This KUnit update for Linux 6.8-rc5 consists of one important fix to unregister kunit_bus when KUnit module is unloaded. Not doing so causes an error when KUnit module tries to re-register the bus when it gets reloaded. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 1a9f2c776d1416c4ea6cb0d0b9917778c41a1a7d: Documentation: KUnit: Update the instructions on how to test static functions (2024-01-22 07:59:03 -0700) 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.8-rc5 for you to fetch changes up to 829388b725f8d266ccec32a2f446717d8693eaba: kunit: device: Unregister the kunit_bus on shutdown (2024-02-06 17:07:37 -0700) ---------------------------------------------------------------- linux_kselftest-kunit-fixes-6.8-rc5 This KUnit update for Linux 6.8-rc5 consists of one important fix to unregister kunit_bus when KUnit module is unloaded. Not doing so causes an error when KUnit module tries to re-register the bus when it gets reloaded. ---------------------------------------------------------------- David Gow (1): kunit: device: Unregister the kunit_bus on shutdown lib/kunit/device-impl.h | 2 ++ lib/kunit/device.c | 14 ++++++++++++++ lib/kunit/test.c | 3 +++ 3 files changed, 19 insertions(+) ---------------------------------------------------------------- --------------BEVlR5zmYlGmqCSr00K4AOwP Content-Type: text/x-patch; charset=UTF-8; name="linux_kselftest-kunit-fixes-6.8-rc5.diff" Content-Disposition: attachment; filename="linux_kselftest-kunit-fixes-6.8-rc5.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpYi9rdW5pdC9kZXZpY2UtaW1wbC5oIGIvbGliL2t1bml0L2Rldmlj ZS1pbXBsLmgKaW5kZXggNTRiZDU1ODM2NDA1Li41ZmNkNDhmZjBmMzYgMTAwNjQ0Ci0tLSBh L2xpYi9rdW5pdC9kZXZpY2UtaW1wbC5oCisrKyBiL2xpYi9rdW5pdC9kZXZpY2UtaW1wbC5o CkBAIC0xMyw1ICsxMyw3IEBACiAKIC8vIEZvciBpbnRlcm5hbCB1c2Ugb25seSAtLSByZWdp c3RlcnMgdGhlIGt1bml0X2J1cy4KIGludCBrdW5pdF9idXNfaW5pdCh2b2lkKTsKKy8vIEZv ciBpbnRlcm5hbCB1c2Ugb25seSAtLSB1bnJlZ2lzdGVycyB0aGUga3VuaXRfYnVzLgordm9p ZCBrdW5pdF9idXNfc2h1dGRvd24odm9pZCk7CiAKICNlbmRpZiAvL19LVU5JVF9ERVZJQ0Vf SU1QTF9ICmRpZmYgLS1naXQgYS9saWIva3VuaXQvZGV2aWNlLmMgYi9saWIva3VuaXQvZGV2 aWNlLmMKaW5kZXggMDc0YzZkZDJlMzZhLi42NDRhMzhhMWY1YjEgMTAwNjQ0Ci0tLSBhL2xp Yi9rdW5pdC9kZXZpY2UuYworK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