* [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type
@ 2017-11-27 7:16 Richard Leitner
2017-11-27 13:50 ` Andrew Lunn
2017-11-30 14:26 ` David Miller
0 siblings, 2 replies; 4+ messages in thread
From: Richard Leitner @ 2017-11-27 7:16 UTC (permalink / raw)
To: f.fainelli, andrew; +Cc: netdev, linux-kernel, richard.leitner
From: Richard Leitner <richard.leitner@skidata.com>
Previously phy_id was u32 and phy_id_mask was unsigned int. As the
phy_id_mask defines the important bits of the phy_id (and is therefore
the same size) these two variables should be the same data type.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
---
RESEND as suggested by Andrew Lunn
---
include/linux/phy.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index dc82a07cb4fd..e00fd9ce3bce 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -509,7 +509,7 @@ struct phy_driver {
struct mdio_driver_common mdiodrv;
u32 phy_id;
char *name;
- unsigned int phy_id_mask;
+ u32 phy_id_mask;
u32 features;
u32 flags;
const void *driver_data;
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type
2017-11-27 7:16 [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type Richard Leitner
@ 2017-11-27 13:50 ` Andrew Lunn
2017-11-27 14:50 ` Richard Leitner
2017-11-30 14:26 ` David Miller
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2017-11-27 13:50 UTC (permalink / raw)
To: Richard Leitner; +Cc: f.fainelli, netdev, linux-kernel, richard.leitner
On Mon, Nov 27, 2017 at 08:16:45AM +0100, Richard Leitner wrote:
> From: Richard Leitner <richard.leitner@skidata.com>
>
> Previously phy_id was u32 and phy_id_mask was unsigned int. As the
> phy_id_mask defines the important bits of the phy_id (and is therefore
> the same size) these two variables should be the same data type.
Hi Richard
It is normal to put inside the [] of the subject line which of the two
trees this patch is for. In this case net-next.
No need to resend, but please try to do this for your the next
networking patch.
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type
2017-11-27 13:50 ` Andrew Lunn
@ 2017-11-27 14:50 ` Richard Leitner
0 siblings, 0 replies; 4+ messages in thread
From: Richard Leitner @ 2017-11-27 14:50 UTC (permalink / raw)
To: Andrew Lunn, Richard Leitner; +Cc: f.fainelli, netdev, linux-kernel
On 11/27/2017 02:50 PM, Andrew Lunn wrote:
> On Mon, Nov 27, 2017 at 08:16:45AM +0100, Richard Leitner wrote:
>> From: Richard Leitner <richard.leitner@skidata.com>
>>
>> Previously phy_id was u32 and phy_id_mask was unsigned int. As the
>> phy_id_mask defines the important bits of the phy_id (and is therefore
>> the same size) these two variables should be the same data type.
>
> Hi Richard
>
> It is normal to put inside the [] of the subject line which of the two
> trees this patch is for. In this case net-next.
>
> No need to resend, but please try to do this for your the next
> networking patch.
Ok. Thank you for the information. Just saw that it's described in
netdev-FAQ.txt. Sorry for not reading that in advance!
>
> Andrew
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type
2017-11-27 7:16 [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type Richard Leitner
2017-11-27 13:50 ` Andrew Lunn
@ 2017-11-30 14:26 ` David Miller
1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2017-11-30 14:26 UTC (permalink / raw)
To: dev; +Cc: f.fainelli, andrew, netdev, linux-kernel, richard.leitner
From: Richard Leitner <dev@g0hl1n.net>
Date: Mon, 27 Nov 2017 08:16:45 +0100
> From: Richard Leitner <richard.leitner@skidata.com>
>
> Previously phy_id was u32 and phy_id_mask was unsigned int. As the
> phy_id_mask defines the important bits of the phy_id (and is therefore
> the same size) these two variables should be the same data type.
>
> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Applied.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-30 14:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-27 7:16 [PATCH RESEND] net: phy: harmonize phy_id{,_mask} data type Richard Leitner
2017-11-27 13:50 ` Andrew Lunn
2017-11-27 14:50 ` Richard Leitner
2017-11-30 14:26 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).