diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-11-20 21:08:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-20 12:50:24 -0800 |
commit | df0120f12f93f2e11eb67d00ed8270de92d0134d (patch) | |
tree | 2b67cefb10e74f2de423716b27284019b825f798 /drivers/pinctrl/core.c | |
parent | cfccde80e8b1d935e611d40c0f0bba3ed0557bd8 (diff) | |
download | linux-df0120f12f93f2e11eb67d00ed8270de92d0134d.tar.bz2 |
r8169: add check for PHY_MDIO_CHG to rtl_nic_fw_data_ok
Only values 0 and 1 are currently defined as parameters for
PHY_MDIO_CHG. Instead of silently ignoring unknown values and
misinterpreting the firmware code let's explicitly check.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/core.c')
0 files changed, 0 insertions, 0 deletions