[PATCH] ath11k: fix undefined reference to 'ath11k_debugfs_htt_ext_stats_handler'
Kalle Valo
kvalo at codeaurora.org
Fri Sep 25 12:10:27 EDT 2020
Kalle Valo <kvalo at codeaurora.org> wrote:
> kbuild bot reported than link fails when CONFIG_ATH11K_DEBUGFS is disabled:
>
> drivers/net/wireless/ath/ath11k/dp_rx.c:1662: undefined reference to `ath11k_debugfs_htt_ext_stats_handler'
>
> This was because I had missed to move the static inline version of the function
> (which are used when CONFIG_ATH11K_DEBUGFS is disabled) to debufs_htt_stats.h.
> Also move ath11k_debugfs_htt_stats_req() at the same time. And create a stub
> also for ath11k_debugfs_htt_stats_init() for consistency, even if it's not
> needed.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Fixes: 568f06036ee2 ("ath11k: debugfs: move some function declarations to correct header files")
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Patch applied to wireless-drivers-next.git, thanks.
bc8befe6f950 ath11k: fix undefined reference to 'ath11k_debugfs_htt_ext_stats_handler'
--
https://patchwork.kernel.org/patch/11799379/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath11k
mailing list