[2/6] ath10k: refactor firmware crashdump code to coredump.c

Kalle Valo kvalo at qca.qualcomm.com
Wed Aug 16 21:15:52 PDT 2017


Kalle Valo <kvalo at qca.qualcomm.com> wrote:

> In preparation to add RAM dump support. No functional changes, only moving code
> and renaming function names.
> 
> Signed-off-by: Kalle Valo <kvalo at qca.qualcomm.com>

With only this patch applied, and CONFIG_DEV_COREDUMP disabled, there's a build error:

drivers/net/wireless/ath/ath10k/coredump.c:24:30: error: redefinition of ‘ath10k_coredump_new’
 struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar)
                              ^
In file included from drivers/net/wireless/ath/ath10k/coredump.c:17:0:
drivers/net/wireless/ath/ath10k/coredump.h:114:108: note: previous definition of ‘ath10k_coredump_new’ was here
drivers/net/wireless/ath/ath10k/coredump.c:130:5: error: redefinition of ‘ath10k_coredump_submit’
 int ath10k_coredump_submit(struct ath10k *ar)
     ^
In file included from drivers/net/wireless/ath/ath10k/coredump.c:17:0:
drivers/net/wireless/ath/ath10k/coredump.h:109:83: note: previous definition of ‘ath10k_coredump_submit’ was here

-- 
https://patchwork.kernel.org/patch/9901243/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath10k mailing list