Thread (4 messages) 4 messages, 3 authors, 2023-09-01

Re: [PATCH net v1] net: phy: micrel: Correct bit assignment for MICREL_KSZ8_P1_ERRATA flag

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-09-01 01:33:15
Also in: lkml

On Thu, 31 Aug 2023 13:23:42 +0200 Oleksij Rempel wrote:
quoted
quoted
 /* struct phy_device dev_flags definitions */
 #define MICREL_PHY_50MHZ_CLK	0x00000001
 #define MICREL_PHY_FXEN		0x00000002
-#define MICREL_KSZ8_P1_ERRATA	0x00000003
+#define MICREL_KSZ8_P1_ERRATA	BIT(3)  
Please can you also convert the other two flags to use BIT() as well to
make the entire thing explicitly bit-orientated? Thanks.  
Ack. This patch is for the net. The cleanup will got to the net-next.
Except clean up will be accepted for the net too?
The change is simple enough, you can convert all three bits in the fix.
The commit message could more explicitly say that these defines are
supposed to be masks not bit positions, tho.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help