From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-43103.protonmail.ch (mail-43103.protonmail.ch [185.70.43.103]) (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 04BAC394EA7; Sun, 6 Sep 2026 10:28:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.103 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788690532; cv=none; b=fni4+slheb6k0OlLMZi2IkIB8ZcGw+6YBFOI3uNA7QwaZaUzTYm/VGKG0tfZ9MbBI0PbuLv4GU6sMNCl2KRi8zDvFou/q4vk+lxg23kPnk0bHyG1OgNgSgQlDnE8JEMxbBU1BegrbuXPaZ6islybkMU2LQQMibYSaB8qi5H5ah4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788690532; c=relaxed/simple; bh=tL8sIC6QLDl8w6EVxitJamuoUEdvD5R0cq6sKy5DHhU=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=pzQjIm7xqFNx9QxrQhGrTOppRu3epNq/WokXbRptP+e5oZYlf8lHZr+i0mVl2w29zpwahWyr06Em0HOGtFyoN6OQ8JucbeitUvf7A7C/iEePTeez+V0KYlvSXCxCf4dMedeixY0w4ugID2mkz+3w91LwkMpjUxlP9BoW7X7L0fY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b=YVrgdNnE; arc=none smtp.client-ip=185.70.43.103 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="YVrgdNnE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=pxla437r6faclkk6zezuntmxjq.protonmail; t=1788690519; x=1788949719; bh=N/40xsEU7tolwSN75TzYB4doWa4y8gDvG2iAcA2tqvI=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=YVrgdNnE5vZyEpx8VQeT52RVtZlqI9N/0nR1Y4dX9OHvYHWmbpb17CagSfdkEAkKh 9lrNrXB8MYtowcVz2jGqBTnMTk6bJjrUJ5FOD9TkssebAFB9eXk3gnMDBnZCVt2/Bf /3boeVH9Hag1xbYPUMrwJ3zxCaZjtsrz7jUOMPNMG5kK6KDtP0oA66FL5qcPrDglfX S8O+JTiH9ZOK1Ls5onmYuxOxqat+yzwqmsd0hlsoLtY3zpjCE5WuWttnsM48eeKoyV /r7f4YM0efw6jc+JLR4tC5/qJIXmvVtn2Rrm2ktd56Hj3AcpKpMbzBog0KZKw0WenP +c7uGxjBRZcmg== Date: Sun, 06 Sep 2026 10:28:34 +0000 To: Miguel Ojeda , Danilo Krummrich From: Sagar Taunk Cc: Jakub Kicinski , Paolo Abeni , Eric Dumazet , "David S . Miller" , Simon Horman , Abdiel Janulgue , Daniel Almeida , Robin Murphy , Andreas Hindborg , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Alice Ryhl , Trevor Gross , Tamir Duberstein , Alexandre Courbot , =?utf-8?Q?Onur_=C3=96zkan?= , Greg Kroah-Hartman , driver-core@lists.linux.dev, rust-for-linux@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Sagar Taunk Subject: [PATCH v2 0/3] rust: migrate users to zerocopy traits Message-ID: <20260906102826.202874-1-sagartaunk@proton.me> Feedback-ID: 130121444:user:proton X-Pm-Message-ID: c9fd85c2705fa81c68284356847651d19339fb13 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This series migrates `dma.rs`, `uaccess.rs` and `net/netlink.rs` from the kernel's `transmute::{FromBytes, AsBytes}` traits to the equivalent zerocopy traits.=20 Sagar Taunk (3): rust: net: netlink: Migrate to zerocopy's `IntoBytes` rust: uaccess: migrate to zerocopy's `Frombytes/IntoBytes` rust: dma.rs: Migrate to zerocopy's `Frombytes/IntoBytes` rust/kernel/dma.rs | 22 +++++++++------------- rust/kernel/net/netlink.rs | 3 +-- rust/kernel/uaccess.rs | 5 ++--- 3 files changed, 12 insertions(+), 18 deletions(-) --=20 2.55.0