OSDN Git Service

net: phy: harmonize phy_id{,_mask} data type
authorRichard Leitner <richard.leitner@skidata.com>
Mon, 27 Nov 2017 07:16:45 +0000 (08:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Nov 2017 14:26:31 +0000 (09:26 -0500)
commit511e3036e3c108281edbabf60cf43963c336abf3
treea5ae351933d52c8ab2afd8fbf093b23b1b708623
parent3243ff2a05eca0437e633355628a0f3606b931ef
net: phy: harmonize phy_id{,_mask} data type

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h