Re: ath10k: fix kernel panic issue during pci probe

2018-02-07 Thread Kalle Valo
u Wang <yyuw...@codeaurora.org> > Signed-off-by: Kalle Valo <kv...@codeaurora.org> Patch applied to ath-current branch of ath.git, thanks. 50e79e25250b ath10k: fix kernel panic issue during pci probe -- https://patchwork.kernel.org/patch/10189375/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

[PATCH] ath10k: fix kernel panic issue during pci probe

2018-01-29 Thread Yu Wang
est. To fix it, check ar->normal_mode_fw.board before accessing the member. Yu Wang (1): ath10k: fix kernel panic issue during pci probe drivers/net/wireless/ath/ath10k/debug.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 1.9.1

[PATCH] ath10k: fix kernel panic issue during pci probe

2018-01-29 Thread Yu Wang
If device gone during chip reset, ar->normal_mode_fw.board is not initialized, but ath10k_debug_print_hwfw_info() will try to access its member, which will cause 'kernel NULL pointer' issue. This was found using a faulty device (pci link went down sometimes) in a random insmod/rmmod/other-op test.