https://github.com/torvalds/linux
Revision de702da7a823ab0c4a1e53ed79a2695f0d453855 authored by Florian Fainelli on 15 July 2016, 23:40:22 UTC, committed by David S. Miller on 17 July 2016, 05:04:19 UTC
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>
1 parent 18d3df3
History
Tip revision: de702da7a823ab0c4a1e53ed79a2695f0d453855 authored by Florian Fainelli on 15 July 2016, 23:40:22 UTC
et131x: Fix logical vs bitwise check in et131x_tx_timeout()
Tip revision: de702da
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 6.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.5 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 353.8 KB
Makefile -rw-r--r-- 56.0 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top