From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796380422; b=Bru0AdRxt5EbAKygn38IEtNrQOM0F3tUhpCAHRGNrvvQENruunK1GyZ/oLTNbG/J5nHc DAgBSTeHzUeR7OD1TN7rFNEaN08FciG/W68fXyqhInKLX5Dxa3Ht+5oKVBogdZoygMJoB IxTAWUoDn1OqBvfRZ4YqiTFAWhCAGomy6e6anldzteOoflFpbg6SVO4R24JZ7KcbzQRBW hcfaENrfuZraCJN/LRC77h8EeNIn766dXrOJNgdN4nBFplWxoKSYD5s+z2/jWW7zlY8IM 9oza1Wz3R02/NBSipdsrsjiaO++Uweq3r5SOSB2Sx0X3IOqOnB9x8qiU68iCZ9WmaNw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796380422; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=o6SMZtLHZhDZF7N8yLn43Lc97i/wB0EQIml3YOhrmvo=; b=VFbkitmyDz7o+2N5N0CfDuihLdwvf//LDQCThJFmXr0eaHavCHhJHUxPdwWen09WoZxL E/YqKthk5eZZSBblzW2rAzLg+LxRUM7nGpLLJqf2y/FLJInwShybBgSNZnMb7F5TZiVyV 7rLMo371PDgLq7R65YuMDSepS+Kg0IczjtABncFsg/EH6+6WMmbgkn3uKowmtkuI26pgB tkLfYqjg+Mdgoeag1TNp4TyxhBYUOSiHWhhIr6JVxrJlzzsag6xESLt6nxGg0zcr1pcF0 j4iOiDWZEz+/FTWt3L7MRfeSRSzU1lduWhet1cU6mMWV8oWKpx7qLs8+VWUn295wPCw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=tYaEXNQi; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72338606A32D; Fri, 4 Dec 2026 10:33:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=tYaEXNQi Received: by smtp.kernel.org (Postfix) with ESMTPSA id E98021F000C2; Fri, 4 Dec 2026 10:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796380422; bh=o6SMZtLHZhDZF7N8yLn43Lc97i/wB0EQIml3YOhrmvo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=tYaEXNQi60vohw2kngh9IFDGnJWw0fv7JZTJS+KNqedUoGoPvU7g+wAfbnxR9VuTN Mi8sVNIcsHzPgjrwcuSaL0bJZJhaWyG5y1YHyG4CWWvuJpK1nOgyNs25HCtzacurtR LlbZ9hiESkpeFK3/sreiC089bnQaliV/ANubbxes= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, kernel test robot , Baokun Li , Zhang Yi , Jan Kara , Ojaswin Mujoo , Theodore Tso , Sasha Levin Subject: [PATCH 7.3 226/742] ext4: Fix sparse warning in extents kunit test when EXT4_KUNIT_TESTS=m Date: Fri, 4 Dec 2026 19:01:30 +0900 Message-ID: <20261204100641.076724546@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100635.034361255@linuxfoundation.org> References: <20261204100635.034361255@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.3-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ojaswin Mujoo [ Upstream commit f0a38eb3ebf925386ded88e642bd2c5b3d06534b ] When kunit tests are compiled as modules, the extents kunit test emits a sparse warning: >> fs/ext4/extents-test.c:59:3: sparse: sparse: symbol 'k_ctx' was not declared. Should it be static? Fix this by declaring it as static. Fixes: cb1e0c1d1fad ("ext4: kunit tests for extent splitting and conversion") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202609221900.Pgwrcp41-lkp@intel.com/ Reviewed-by: Baokun Li Reviewed-by: Zhang Yi Reviewed-by: Jan Kara Signed-off-by: Ojaswin Mujoo Link: https://patch.msgid.link/20260924073929.2594339-1-ojaswin@linux.ibm.com Signed-off-by: Theodore Ts'o Signed-off-by: Sasha Levin --- fs/ext4/extents-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/extents-test.c b/fs/ext4/extents-test.c index 2e997f228330f..0f897d9ff4fee 100644 --- a/fs/ext4/extents-test.c +++ b/fs/ext4/extents-test.c @@ -48,7 +48,7 @@ #define EXT_DATA_LBLK 10 #define EXT_DATA_LEN 3 -struct kunit_ctx { +static struct kunit_ctx { /* * Ext4 inode which has only 1 unwrit extent */ -- 2.53.0