diff mbox series

[2/2] ath11k: include vmalloc.h to fix a compilation error on sparc64

Message ID 1560859413-8788-2-git-send-email-kvalo@codeaurora.org (mailing list archive)
State Accepted
Commit e0e87d74740a2aa6fe7e41ac10b0a76ed2a2eabe
Delegated to: Kalle Valo
Headers show
Series [1/2] ath11k: fix typo with swap16() and swap32() | expand

Commit Message

Kalle Valo June 18, 2019, 12:03 p.m. UTC
Fix GCC errors on sparc64:

drivers/net/wireless/ath/ath11k/debugfs_sta.c:414:14: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration]
drivers/net/wireless/ath/ath11k/debugfs_sta.c:427:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/debugfs_sta.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/debugfs_sta.c b/drivers/net/wireless/ath/ath11k/debugfs_sta.c
index cff6a3f048ea..470cb97a160b 100644
--- a/drivers/net/wireless/ath/ath11k/debugfs_sta.c
+++ b/drivers/net/wireless/ath/ath11k/debugfs_sta.c
@@ -3,6 +3,8 @@ 
  * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
  */
 
+#include <linux/vmalloc.h>
+
 #include "core.h"
 #include "debug.h"