diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-07 01:37:48 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:39 +0200 |
commit | 7fa7cbc0b9fcc34bd0d4710664dcdadc723854c6 (patch) | |
tree | 2bbeb31ab76d224ce0228c1ec480a332d9b0aaf0 /target/linux/realtek/patches-5.15/711-net-phy-add-an-MDIO-SMBus-library.patch | |
parent | da2f5e8776da6ca7ca5ae9646243dc0f04ce24b9 (diff) | |
download | upstream-7fa7cbc0b9fcc34bd0d4710664dcdadc723854c6.tar.gz upstream-7fa7cbc0b9fcc34bd0d4710664dcdadc723854c6.tar.bz2 upstream-7fa7cbc0b9fcc34bd0d4710664dcdadc723854c6.zip |
realtek: 5.15: fix compilation warning with PHY_INTERFACE_MODE_HSGMII
PHY_INTERFACE_MODE_HSGMII was not handled in phylink_get_linkmodes and
phylink_parse_mode.
Fix compilation warning by adding it in the enum:
drivers/net/phy/phylink.c: In function 'phylink_get_linkmodes':
drivers/net/phy/phylink.c:360:9: error: enumeration value 'PHY_INTERFACE_MODE_HSGMII' not handled in switch [-Werror=switch]
360 | switch (interface) {
| ^~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/realtek/patches-5.15/711-net-phy-add-an-MDIO-SMBus-library.patch')
0 files changed, 0 insertions, 0 deletions