From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-10631.protonmail.ch (mail-10631.protonmail.ch [79.135.106.31]) (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 93C5A1EDA07 for ; Sun, 23 Mar 2025 10:40:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.31 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742726461; cv=none; b=fm36xFQtxQHoH1B5cH0oizyj2rs89NdkFPJIYLL70vV9yuNbSv71Za2ghMbZcfxv77IpmXIY992eJfmjUo8/QU/6W+n7Dj7LPW/TsnCX7g/w2o2jrAro6nsSL+4OIReJqjYGLHdo5QhEqZDlCjvg367KZX2FjLVVpHjJPXvnLLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742726461; c=relaxed/simple; bh=Ob9LdZ+c/ncKnBCYJr3bZneLXu21lTpwxmVSLf562kk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dcD9JjM8b9UPgGE2mTM1Dnaijd+bQThJn9OdTcOjJNRCB13Ndy6w7npSXp3gb903WRm/bUrxG4FKKOHPAWWWUC5V3WDDJro78HCQedz6rMhRt15JeZz2p8OM/bovQzo1rJrAi8QBTe1FR3aO9ohqzGWUNxE4bdPOnay0x0j4bMU= 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=XLrm65kI; arc=none smtp.client-ip=79.135.106.31 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="XLrm65kI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1742726457; x=1742985657; bh=vie9Ixb/ra8lAdi/iaoHsc8QAERGKQHc1chJN+YSfQ4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=XLrm65kIs6EmXAQaumeTNXrNER5ALAoJS8Tw28fyEGaSy92SFQZQDyjQaq33OKlVF bfzn9Lcff6p8chFQQhJW58GCViS31o8nLHsrQQjbX1L3hNStm0MfPRHZgBxjAOz9O8 LjzsaP6uf0ryZ8ObI2XZE8l7LHkzRjvrQyXL9Mr+5eEQ5/FkQkcKSRM+EWSKd7jfBE 9FAHLGeMHNx6weKSNeVIjKCZbws0ltNq73fKna+9UWBx7nnBwDGWHcb56fXCPuKu5A 9vq+gHU4cwMpBf00URL603/VOlO6+DBNjHMIwx9VKv1IKeXQB/A/9rAZaOG1BmgfNk +PBHYh2LudUlg== Date: Sun, 23 Mar 2025 10:40:50 +0000 To: Antonio Hickey , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich From: Benno Lossin Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 15/17] rust: fs: file: refactor to use `&raw [const|mut]` Message-ID: In-Reply-To: <20250320020740.1631171-16-contact@antoniohickey.com> References: <20250320020740.1631171-1-contact@antoniohickey.com> <20250320020740.1631171-16-contact@antoniohickey.com> Feedback-ID: 71780778:user:proton X-Pm-Message-ID: 0dd335f6b9ba7dff36cce721fc3d5200bf385ca2 Precedence: bulk X-Mailing-List: rust-for-linux@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 On Thu Mar 20, 2025 at 3:07 AM CET, Antonio Hickey wrote: > Replacing all occurrences of `addr_of!(place)` with > `&raw const place`. > > This will allow us to reduce macro complexity, and improve consistency > with existing reference syntax as `&raw const` is similar to `&` making > it fit more naturally with other existing code. > > Suggested-by: Benno Lossin > Link: https://github.com/Rust-for-Linux/linux/issues/1148 > Signed-off-by: Antonio Hickey Reviewed-by: Benno Lossin --- Cheers, Benno > --- > rust/kernel/fs/file.rs | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)