From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=82.65.109.163 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793368888; b=GJJkdrLJDTg8i/7Z7MocS8hGk0XZx/O63z3KX2QB5DOKEEgDdhK+cxPPexb1tyfFAi8c hhZwe0EFC5ZRwxn7sbuM55trSJNZsgzDxWKbdwf5hpVsop7SNsie+qlXYID2CxUDZpJTJ YLp7ypCj7kcH+1S341HNtydCbLDYBL6nR39GHcmgTzPT8Oq+besJLoTVgloqWNcVSaxdH OE0ikSLseTpNsco70OX8W5hvTSpX+rwwdfc3u2WB5fo5nru61kEZVh9XH+6D+KF/E9EL3 aT+08xhUIVblJSaaCkPdumNtVNC27ghnEH79ia9ZR5OuxEKTFoUeyNlX91p4Zddq1UQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793368888; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To:Jabber-ID; bh=r2Lam0T+BA/HujRcsyvJC9BL9O4RDGTnvemyk2p/XQo=; b=giEEtax9osaPakewC5jEUbsZV34lWAjZLcid9JKG09YgipZZs808tXm2rG8/U5Oml7OU UDEEQc8DdorCiXuOaKUdf7R2I/Ke00Pu75kNGZIyIHwAGa3O9V5SxsOBNeffST9zAjRhU cQ8N8e0xdYZk16RWnDeLgCsXmioY6Oj8pXIlDcPO1kSDHxecyTqHZy5tlcelV7+Inr6JZ cOBFEOytu9QNOxSJozgrw4Y+dcoucTuzWDTbpS8l3W37gh7zGV5ytjGQT8VeRAVDXFX8X NSHFl9p8Ny0tDD2onmkXID0i0Y2EGgqiGmA/svPwLQ3gN3D3bZEXOK9uUKzCYIFhANA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=linkmauve.fr; spf=pass smtp.mailfrom=linkmauve.fr; arc=none smtp.remote-ip=82.65.109.163 Received: from linkmauve.fr (linkmauve.fr [82.65.109.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 109F0606A31A; Fri, 30 Oct 2026 14:01:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 109F0606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linkmauve.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linkmauve.fr Received: by linkmauve.fr (Postfix, from userid 1000) id 68C167229E5E; Fri, 30 Oct 2026 15:01:25 +0100 (CET) Date: Fri, 30 Oct 2026 15:01:25 +0100 From: Link Mauve To: Link Mauve Cc: Srinivas Kandagatla , Sasha Finkelstein , Andy Shevchenko , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Sven Peter , Janne Grunau , Neal Gompa , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Vladimir Zapolskiy , =?iso-8859-1?Q?Andr=E9?= Draszik , Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Kalyani Akula , Michal Simek , Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Daniel Almeida , Tamir Duberstein , Alexandre Courbot , Onur =?iso-8859-1?Q?=D6zkan?= , Johan Hovold , Ronald Claveau , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, imx@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, rust-for-linux@vger.kernel.org Subject: Re: [PATCH v7 0/3] nvmem: migrate to const void * in reg_write Message-ID: References: <20261012195213.875403-1-linkmauve@linkmauve.fr> X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261012195213.875403-1-linkmauve@linkmauve.fr> Jabber-ID: linkmauve@linkmauve.fr Hi, On Mon, Oct 12, 2026 at 09:52:07PM +0200, Link Mauve wrote: > This callback used to take a mutable void * for no reason, which causes > the compiler to be unaware that the val buffer should never be modified > by the callback. > > This was found while drafting the nvmem-provider Rust abstraction. > > Thanks to the guidance of Andy Shevchenko, this now introduces a new > callback and deprecates the existing one, with the goal of renaming the > new one into the old one once no user remains in the kernel. […] How could we proceed to merge this series in time for 7.4? I’d really like to get done with it and move back to the Rust abstractions. -- Link Mauve