From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 A4930322B63 for ; Tue, 6 Jan 2026 09:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767692561; cv=none; b=Q/hWfyDoOsskWuB0/w5sm9Ty5fKaXagb/OfaxIcNu3yx/PHs13MFX3NjObRl6RTTkz035y5R37pJxv0fD/PIGCb6UaN3S0QsRg61d+6K40EErOG2LydBXYOvqt21yigPeUTTIuFmtUtGFUxfve2Lbj4isCPQglZ+ZIng9KtrVjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767692561; c=relaxed/simple; bh=uCg5LE1awkD4IvDTHcBajScqvE5FFewvys9HL+daHlw=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=nYMP30sgP2IodNgKdbcATK0pP8s6gW01Bbs1qLnRHL56emNwLgn9SN5wF6G1au4Vh9ysaYvMm2bDVkMrkrOO6H2gUHMbhKIdiCgUcy4arqcST9Sx9NOF60zmflt04Gj+rtpFUaUdesVHxoJ07MKLx6U15/AnJnqwKDpXKVcDuso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Eg0giomd; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Eg0giomd" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 82481C1E4A4; Tue, 6 Jan 2026 09:42:09 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 75D5560739; Tue, 6 Jan 2026 09:42:35 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9B602103C81A0; Tue, 6 Jan 2026 10:42:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767692554; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:content-language:in-reply-to:references; bh=XPYPcHd5Ki9QVbQ61NZ1G6T7KP+uNtCnjIDbW1nzNFc=; b=Eg0giomd4cyqgDgbKLX73h3iGLZ6rSizyDqYWbyRY1BFW6v4VYFSrANR4glxC9DGGwtnii wOn2+ErO2UuHLvfat8Pxh3hsulPEMiH1vjvXKbnnU6MXibjbPLqAo7KpMjaBgv0zRMVlJi Rb5NiBR/GYm0VzsKWgeNc8db6ymxL4+3LVcdDDtSf8zuTCPhmNRHPpBL2Z2N+5z8WY0PFw N36neWs+tlBswfQJRQ2VL4X/A+n3mzR8tUQOUVFW6qxi8ctSTQqkgdGQcHf+PaL/tMtniA X1hgIePSeZH8dervP+ZvHVrtdYt74oxAUp5HMAD5qJQSERalKD16uZT+f68o4A== Message-ID: <4564a756-ec4e-4038-8a84-35410e9c6779@bootlin.com> Date: Tue, 6 Jan 2026 10:42:29 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 5/5] net: phy: realtek: get rid of magic number in rtlgen_read_status() To: Daniel Golle , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Michael Klein , Aleksander Jan Bajkowski , Bevan Weiss , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Maxime Chevallier In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Last-TLS-Session-Version: TLSv1.3 On 05/01/2026 17:39, Daniel Golle wrote: > Use newly introduced helper macros RTL822X_VND2_TO_PAGE and > RTL822X_VND2_TO_PAGE_REG to access RTL_VEND2_PHYSR register over Clause-22 > paged access instead of using magic numbers. > > Signed-off-by: Daniel Golle That's nicer indeed ! Reviewed-by: Maxime Chevallier Maxime