summaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-01-18 21:24:01 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-01-22 21:01:30 (GMT)
commita2ca8ecb8ffc985e82c9570c3837408f7efe8c9d (patch)
tree571b1266c73e1c7ab993245c792a9feb9e96cd98 /crypto/cryptd.c
parent7532c7d0138a4984eb0c8b12b9c310cf8a6d6977 (diff)
downloadlinux-a2ca8ecb8ffc985e82c9570c3837408f7efe8c9d.tar.xz
mwl8k: don't return zero on failure paths in mwl8k_probe[_hw]()
If pci_iomap() fails in mwl8k_probe(), it breaks off initialization, deallocates all resources, but returns zero. There is a similar issue when priv->rxd_ops is NULL in mwl8k_probe_hw(). The patch adds proper error code return values. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions