diff options
author | 2022-11-04 16:44:41 +0800 | |
---|---|---|
committer | 2022-11-07 11:33:22 +0000 | |
commit | 4e0243e7128c9b25ea2739136076a95d6adaba5e (patch) | |
tree | daf855bae7bca909f589686f701aa0d3f950aeb5 /drivers/net/phy/phy.c | |
parent | gve: Fix error return code in gve_prefill_rx_pages() (diff) | |
download | wireguard-linux-4e0243e7128c9b25ea2739136076a95d6adaba5e.tar.xz wireguard-linux-4e0243e7128c9b25ea2739136076a95d6adaba5e.zip |
net: phy: fix yt8521 duplicated argument to & or |
cocci warnings: (new ones prefixed by >>)
>> drivers/net/phy/motorcomm.c:1122:8-35: duplicated argument to & or |
drivers/net/phy/motorcomm.c:1126:8-35: duplicated argument to & or |
drivers/net/phy/motorcomm.c:1130:8-34: duplicated argument to & or |
drivers/net/phy/motorcomm.c:1134:8-34: duplicated argument to & or |
The second YT8521_RC1R_GE_TX_DELAY_xx should be YT8521_RC1R_FE_TX_DELAY_xx.
Fixes: 70479a40954c ("net: phy: Add driver for Motorcomm yt8521 gigabit ethernet phy")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Frank <Frank.Sae@motor-comm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions