diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-15 16:40:22 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:28 +0200 |
| commit | 0c2e3b36172562ea687fa4dae4ca706aaba29135 (patch) | |
| tree | 0615207788f6735d6008ffb9f68ad4d0c69231ec /scripts/patch-kernel | |
| parent | 12003a72a164689011b7f22b1b6388c8509a80e1 (diff) | |
et131x: Fix logical vs bitwise check in et131x_tx_timeout()
commit de702da7a823ab0c4a1e53ed79a2695f0d453855 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
