From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52920C5AD4E for ; Mon, 10 Aug 2026 07:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TnYokPYgaLkkgSV2nCGv4JCR0Qc7Vlc1eSezoIzhNdU=; b=I3FmwC8Vtlt/Y1QVTvPZazQUBg vprYyj5goa9Jcli7U9TXlBP/9HZVsdgt7LD82GQ7WL/KQjUlFhFcLJAt/BkCBlUIVkkrzV3OiQhLK clVO6Moq/f6f/SxunDssDPqRWgeqxtRXY1EHZUgtrrk6lhO6KUAzDIcyXea3ZfaZ3CMVIYE41UKzZ rgtM3+U2Y5/3IWy6rU6T4KoZ1iFmp+SWsUaXCh/6oyRuQMM6qSyny5N2kA2n5dwYXYTjxQ0Lmd77p SOMeiuBN3EAaPcV3BCPLSJCn7FdV0qgBFrIpJaCdwRipbWUdAaU4utUpoDuV2R63L2NrC3M0M8hgW ywvMP9IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wtKQJ-0000000BCX5-29zo; Mon, 10 Aug 2026 07:27:52 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wtKQH-0000000BCWU-0O5Q; Mon, 10 Aug 2026 07:27:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1786346869; x=1817882869; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xQLhwS8wv9sFqYFOv/TIN/5z4j31qZTJrUsswVUaMwY=; b=Sk0yWa7lVhMQFFn6a/QUqsvWmDlZsHWUimO+tvt7R3ezaWtCIyug0s4u 2PnJPNu5WbSRY639syjdKoxLHlbsw+I2auyeT6of0Vh9o7fy70xLIisXO l0K3CnSfQOOWiRZA0hhWhDVmMEp08gXYs4TWlYw8tSqf2Ovx3l71woauW lZbwQQg51ExVOsXdYB173x+unWut9M2cPW0QXJ6cKahhLJpEjw2R5euqV MtuZM3JNUGU1Ni4acxSYlON4+KfY3PJSPYcgFYyKVSbDMr0i83JYJh4Ku 5IPO6TwXON807b4OQ8ycTWGRanRQ54opOg46Sf6cgSUH8Oe5hrHAVMLj8 g==; X-CSE-ConnectionGUID: cJ9lhu4TQSSt3u12NKt+iA== X-CSE-MsgGUID: jY6GZIwaToO9SWgSCw/eAg== X-IronPort-AV: E=McAfee;i="6800,10657,11870"; a="112400364" X-IronPort-AV: E=Sophos;i="6.25,215,1779174000"; d="scan'208";a="112400364" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2026 00:27:46 -0700 X-CSE-ConnectionGUID: fVqcRD4QTWCn0dQ6j9/S5A== X-CSE-MsgGUID: 7ZXTFfZuQhmUulcEeVHcvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,215,1779174000"; d="scan'208";a="263584571" Received: from conormcd-mobl2.ger.corp.intel.com (HELO localhost) ([10.245.244.99]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2026 00:27:36 -0700 Date: Mon, 10 Aug 2026 10:27:33 +0300 From: Andy Shevchenko To: Link Mauve Cc: Srinivas Kandagatla , 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 v4 0/3] nvmem: migrate to const void * in reg_write Message-ID: References: <20260726131724.15299-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260726131724.15299-1-linkmauve@linkmauve.fr> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260810_002749_171172_035D86B4 X-CRM114-Status: GOOD ( 12.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Jul 26, 2026 at 03:17:18PM +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. LGTM now, FWIW, Reviewed-by: Andy Shevchenko But I think you also need to provide a road map of finishing this job (the best is to provide a continuation in some of yours public Git trees to point out). -- With Best Regards, Andy Shevchenko