diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-12-15 16:15:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-17 23:10:07 +0300 |
commit | ebb30ccbbdbd6fae5177b676da4f4ac92bb4f635 (patch) | |
tree | 589899bff7f983c43c68480fffde400c21dc864a /drivers/net/phy/phy.c | |
parent | dd7842878633453e38d6a4927593dd28b9d8ab91 (diff) | |
download | linux-ebb30ccbbdbd6fae5177b676da4f4ac92bb4f635.tar.xz |
net: phy: make addr type u8 in phy_package_shared struct
Switch addr type in phy_package_shared struct to u8.
The value is already checked to be non negative and to be less than
PHY_MAX_ADDR, hence u8 is better suited than using int.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions