ath10k: check allocation errors in CE
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 9 Aug 2013 06:39:13 +0000 (08:39 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Aug 2013 14:39:01 +0000 (17:39 +0300)
commit9c5ae6915d6f8cf682006e4067de80d22431d92e
tree0f3509528d391a8bcf93b5ea7dd1eb8371427479
parent4e72b232a47fa773c49c4e63634df18be5ba3bb3
ath10k: check allocation errors in CE

Handle pci_alloc_consistent(), kmalloc()
errors in copy engine module.
Found during code review.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c