https://github.com/torvalds/linux
Revision fea24857bb62990b839feb62090ad72a1c93735a authored by Colin Ian King on 29 March 2016, 17:00:50 UTC, committed by David S. Miller on 30 March 2016, 19:48:15 UTC
in the case where qed_slowpath_irq_req is not called, rc is not
assigned and so qed_int_igu_enable will return a garbage value.
Fix this by initializing rc to 0.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 28fd349
History
Tip revision: fea24857bb62990b839feb62090ad72a1c93735a authored by Colin Ian King on 29 March 2016, 17:00:50 UTC
qed: initialize return rc to avoid returning garbage
Tip revision: fea2485
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-- 5.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.4 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 342.7 KB
Makefile -rw-r--r-- 54.9 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top