OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1835374
)
ath10k: fix erroneous return value
author
Anton Protopopov
<a.s.protopopov@gmail.com>
Wed, 10 Feb 2016 16:58:55 +0000
(11:58 -0500)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:20:01 +0000
(19:20 +0200)
The ath10k_pci_hif_exchange_bmi_msg() function may return the positive
value EIO instead of -EIO in case of error.
Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index
0e338b6
..
b3cff1d
100644
(file)
--- a/
drivers/net/wireless/ath/ath10k/pci.c
+++ b/
drivers/net/wireless/ath/ath10k/pci.c
@@
-1772,7
+1772,7
@@
int ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar,
DMA_FROM_DEVICE);
ret = dma_mapping_error(ar->dev, resp_paddr);
if (ret) {
- ret = EIO;
+ ret =
-
EIO;
goto err_req;
}