From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gimli.kloenk.de (gimli.kloenk.de [49.12.72.200]) (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 00E9820127B; Wed, 5 Mar 2025 09:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=49.12.72.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741166673; cv=none; b=g67itnMoMg8Fr5PuQZD7YiIPeZQTAPDlJNoyESazU8vgOjw29coOyi+ivDkDLfQOFr1+2CTKUf+1LaOybNHI+ZYyhheo2nYlWChySFss4miOXyKFB+/HzdFE0e5RpKq1UP2Mx2zYlswcRVrH4Ea93OHHP0oaG/WBpkhBH/9ix9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741166673; c=relaxed/simple; bh=6Dueg+2Uh89sCdGWEFbTAs4vQ/frbcNjEkOb9fEQdnM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=MhE9U+ODJaIfzCHpDZF0jRmxV5x3ObYQFg/zbndD5K9HNTwYC1ZO0Et5YAeaenZVhxbd61+zfg7H4VvjRwz5lzZcVmSRmhSe2yelDf8PNMg+NjG3tjRy2JXJ0o7oPp+b8NArmRiNjb70hcCKNkuhZYMqzLJ1H2qs38/tYT5x1X0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kloenk.dev; spf=pass smtp.mailfrom=kloenk.dev; dkim=pass (1024-bit key) header.d=kloenk.dev header.i=@kloenk.dev header.b=o2JMilfB; arc=none smtp.client-ip=49.12.72.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=kloenk.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kloenk.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=kloenk.dev header.i=@kloenk.dev header.b="o2JMilfB" From: Fiona Behrens DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kloenk.dev; s=mail; t=1741166670; bh=6Dueg+2Uh89sCdGWEFbTAs4vQ/frbcNjEkOb9fEQdnM=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=o2JMilfBJnkhN2G218kqWioBEY03/YwN3nx/IZ1ln5kTopf5+FNbsy/9+arBoc0iE Rq6P1AiNeb1y3JQCY5efsR8O5v/VOv14veSmLlGI/7Y/8SFT6S2O/qN7ZPyBlRCGc1 q5ZVPinrNAhOxCCGZPOcQNif0klUAsB8e5Q8AQ8k= To: Benno Lossin Cc: Danilo Krummrich , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn?= Roy Baron , Andreas Hindborg , Alice Ryhl , Trevor Gross , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/22] rust: pin-init: move impl `Zeroable` for `Opaque` and `Option>` into the kernel crate In-Reply-To: <20250304225245.2033120-10-benno.lossin@proton.me> (Benno Lossin's message of "Tue, 04 Mar 2025 22:54:23 +0000") References: <20250304225245.2033120-1-benno.lossin@proton.me> <20250304225245.2033120-10-benno.lossin@proton.me> Date: Wed, 05 Mar 2025 10:24:29 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Benno Lossin writes: > In order to make pin-init a standalone crate, move kernel-specific code > directly into the kernel crate. Since `Opaque` and `KBox` are part > of the kernel, move their `Zeroable` implementation into the kernel > crate. > > Signed-off-by: Benno Lossin Reviewed-by: Fiona Behrens