]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix a NULL vs IS_ERR() check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 Dec 2018 07:53:41 +0000 (09:53 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 17:05:19 +0000 (19:05 +0200)
commitb59de0048acc6019ce1c8c742a8f94bc7de914e7
tree7cc361a7a1189f6a48a129be20fe56a142f0df33
parentb14c14f5cc09b70e416b6ef923bb4b21f58149d9
ath10k: fix a NULL vs IS_ERR() check

The devm_memremap() function doesn't return NULLs, it returns error
pointers.

Fixes: 0fd23d9f9392 ("ath10k: add QMI message handshake for wcn3990 client")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/qmi.c