[PATCH net-next] ath11k: Fix possible memleak in ath11k_qmi_init_service

2020-07-20 Thread Wang Yufen
When qmi_add_lookup fail, we should destroy the workqueue Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Reported-by: Hulk Robot Signed-off-by: Wang Yufen --- drivers/net/wireless/ath/ath11k/qmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/d

[PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-07-20 Thread Wang Yufen
When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, we should destroy the workqueue. Fixes: 05491d2ccf20 ("brcm80211: move under broadcom vendor directory") Reported-by: Hulk Robot Signed-off-by: Wang Yufen --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbu

[PATCH net-next] brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach

2020-07-20 Thread Wang Yufen
When brcmf_proto_msgbuf_attach fail and msgbuf->txflow_wq != NULL, we should destroy the workqueue. Fixes: 05491d2ccf20 ("brcm80211: move under broadcom vendor directory") Reported-by: Hulk Robot Signed-off-by: Wang Yufen --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbu

[PATCH] ARM:kexec:offline panic_smp_self_stop CPU

2018-11-01 Thread Wang Yufen
From: Yufen Wang In case panic() and panic() called at the same time on different CPUS. For example: CPU 0: panic() __crash_kexec machine_crash_shutdown crash_smp_send_stop machine_kexec BUG_ON(num_online_cpus() > 1); CPU 1: panic() local_irq_disable

[PATCH] trace/irq: fix WARNING in check_flags while CONFIG_TRACE_IRQFLAGS opened

2016-02-22 Thread Wang Yufen
son: unannotated irqs-off. It's because irqflags is not the same as current->hardirqs_enabled, I think maybe use local_irq_XXX to instead raw_local_irq_XXX can fix that warning Signed-off-by: Wang Yufen Signed-off-by: Ma Jun --- kernel/locking/lockdep.c |4 ++-- 1 files changed, 2