diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-15 16:40:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-16 22:04:19 -0700 |
commit | de702da7a823ab0c4a1e53ed79a2695f0d453855 (patch) | |
tree | 1cbcd7b697128888ed29859c7e9b66a838cda93f /drivers/i2c | |
parent | 18d3df3eab23796d7f852f9c6bb60962b8372ced (diff) |
et131x: Fix logical vs bitwise check in et131x_tx_timeout()
We should be using a logical check here instead of a bitwise operation
to check if the device is closed already in et131x_tx_timeout().
Reported-by: coverity (CID 146498)
Fixes: 38df6492eb511 ("et131x: Add PCIe gigabit ethernet driver et131x to drivers/net")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions