From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (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 7F4B7202C46 for ; Sun, 23 Mar 2025 10:40:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742726427; cv=none; b=adiD0zAxGqNmsrwAULMM6yCHGS/oAK+QSRJ7j/1BOCB7tHv1dpd8aQKS9jw1ALg3yqXoiQ2pqBpVyC+yCOs55O9Dnf+CGSo+gAnMgbeBLfFTz87119Jq0FiRkBQioRIaSZspSVBXueECLGCCLyZPU2dvkI1ppg4yYCjw9XR7emU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742726427; c=relaxed/simple; bh=jVnCbpRqo5fVx7Brc3ihvmH5MoHHZ1WXqpJTF+1iujM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MVnqeFW80ntWByR0lcg+xLkNE2AmrFmmXv4Ohd4Go/mBwLNt7LpzIOV79Buu+ELVKKcxldSgRgdIuvKNh7Owut83qgIS4OjWdPWBrMANt1ld7q3de0K1jAr+IHedSihZEzT67fB0wHYL1lR4DM7jZi2TMaSOMDs8MDdOCfJLJYs= 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=R72Zxehe; arc=none smtp.client-ip=185.70.43.16 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="R72Zxehe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1742726424; x=1742985624; bh=jIN///kHi7Ez3PRMpIDTM6lBoNugyv58OA3cu60h5EE=; 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=R72ZxeheT536IJXMCPdY389s5bCnZSv8Trs2YeHhCQvptBCqzV+AhAUNvr2C0Dmqe twTzQyh+gYuY1gZgs0ldVe4wmk4QKxzAaAN8GhH5zIPSoEQowrR90SLXyJk457DKSD sHCirrTO5TVNviLLLFrqzSp9NSgKGuUNFYbirAGeoAhYBQVEmumDNrNrrfp99Res3v Xxo2lleiFf7McqjKVyg+iLzX+0NmewsUaix5UxKPnHldE1UjX46Qns7NJiEOxqnPY+ IXQL9b6OGaXHporHHz4gHFUO1uXvGti5vx3EQmhIjis+PnNW4OsMqjuko8NDji8aZn bI5N52vBd6YYg== Date: Sun, 23 Mar 2025 10:40:17 +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 14/17] rust: jump_label: refactor to use `&raw [const|mut]` Message-ID: In-Reply-To: <20250320020740.1631171-15-contact@antoniohickey.com> References: <20250320020740.1631171-1-contact@antoniohickey.com> <20250320020740.1631171-15-contact@antoniohickey.com> Feedback-ID: 71780778:user:proton X-Pm-Message-ID: 74166b5187d5a56bed13a52da9d4bf4ec79da6cf 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/jump_label.rs | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)