]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d93d7b7c268740e2183853b7a4274f6c5e0c901
treea5ae351933d52c8ab2afd8fbf093b23b1b708623
parent1931916aa76b5ca5ec4fdc8471217f8b1cfbb7a1
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