diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-03-07 13:13:30 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-03-08 12:12:25 +0100 |
commit | e5417cbf7ab5df1632e68fe7d9e6331fc0e7dbd6 (patch) | |
tree | ca7d700f18226107c09165f497bc5d7358d1e6ce /drivers/net/ethernet/xilinx | |
parent | smsc95xx: Ignore -ENODEV errors when device is unplugged (diff) | |
download | linux-e5417cbf7ab5df1632e68fe7d9e6331fc0e7dbd6.tar.xz linux-e5417cbf7ab5df1632e68fe7d9e6331fc0e7dbd6.zip |
net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
Discussing one of the tests in mt753x_phylink_validate() with Landen
Chao confirms that the "||" should be "&&". Fix this.
Fixes: c288575f7810 ("net: dsa: mt7530: Add the support of MT7531 switch")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1nRCF0-00CiXD-7q@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/xilinx')
0 files changed, 0 insertions, 0 deletions