From nobody Fri Dec 19 09:09:00 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2203622E3E6 for ; Tue, 18 Feb 2025 09:14:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739870060; cv=none; b=T+uvp6JDCwF/Un7/F5VPtAvYX84LgYGXCe8lVuY/yWnqW+wZ8hcLVMkFa/sphzTPQWgOGgjF/AYJCWz/IAFv1c9oasrVeIBXYpq+POYzeo0CIZPnkRK9JZroaPNGlC5ezcyEsSyc30mH1h98IBSajel23jzkKBDSGaproYwvn3s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739870060; c=relaxed/simple; bh=lYEEJ11WKQ1RuT6GwkjTPXTRlBbW23RX47OY/QzK5u8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hmaStLU5bzQm8kjFpXwp3GSahghjuSHwUcEe1oTer1Dt8GdpJ1gPoN2GJK/Pwg1CGwRLXw+UHFn0ILObFso81I7zZqNi8HXjO6OCm07gGoiQLWflFaT7CEmLu1JbOEOtqF9i7HClLNQxjCl8KH7hUwTj6lrSub6VB4TnuNS14s0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=df2vx1Jk; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jhw1uHf2; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="df2vx1Jk"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jhw1uHf2" Date: Tue, 18 Feb 2025 10:14:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1739870053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YejFzVVvTbx480WIGNfaPb/xj9++hESGctXXz431OO8=; b=df2vx1JkD4DEQPrt/BPuCV077kmd75tiRcFvMzE875wych5ZkiYvfUnB77HbsiVkMnOqdI W95svi4Km54nuUdd0hlyMGE9SyV3Nj9857rz+BwQa65QzYZEyMvhbZtB794tRYM/iPQg/i 8qVq1IZpvGrjauUgwIxOa3HAYd2CsldbiufQb8MDUwGAcKV3w0nNBbVkJoU9CQdO8KzWCS CQ0MyFRk+G7Ol0P38gm0TM47tCyVVaBJpASDgBt2il6VOJ3nitxvGIuyB0K4EUOC+S6nap oWh7v4coIpp08Nr96FH86ik7dcdKDQr3/A0CGo3GV8m+vNXdR5UK1lcBv+hT9A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1739870053; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YejFzVVvTbx480WIGNfaPb/xj9++hESGctXXz431OO8=; b=jhw1uHf2SjZc1BZRWONmncC870CHsJ+CyLTWwsRXBC3L9hGrUyLK7u5rmLvZMcp5rS6sPS qsLRkvzg49YagtAQ== From: Sebastian Andrzej Siewior To: kasan-dev@googlegroups.com, linux-mm@kvack.org Cc: Alexander Potapenko , Marco Elver , Dmitry Vyukov , Andrew Morton , kernel test robot , Peter Zijlstra , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: [PATCH] dma: kmsan: Export kmsan_handle_dma() for modules. Message-ID: <20250218091411.MMS3wBN9@linutronix.de> References: <202502150634.qjxwSeJR-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202502150634.qjxwSeJR-lkp@intel.com> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" kmsan_handle_dma() is used by virtio_ring() which can be built as a module. kmsan_handle_dma() needs to be exported otherwise building the virtio_ring fails. Export kmsan_handle_dma for modules. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202502150634.qjxwSeJR-lkp@int= el.com/ Fixes: 7ade4f10779cb ("dma: kmsan: unpoison DMA mappings") Signed-off-by: Sebastian Andrzej Siewior Reviewed-by: Alexander Potapenko --- mm/kmsan/hooks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/kmsan/hooks.c b/mm/kmsan/hooks.c index 3ea50f09311fd..3df45c25c1f62 100644 --- a/mm/kmsan/hooks.c +++ b/mm/kmsan/hooks.c @@ -357,6 +357,7 @@ void kmsan_handle_dma(struct page *page, size_t offset,= size_t size, size -=3D to_go; } } +EXPORT_SYMBOL_GPL(kmsan_handle_dma); =20 void kmsan_handle_dma_sg(struct scatterlist *sg, int nents, enum dma_data_direction dir) --=20 2.47.2