Skip to contentSkip to conversation

ath11k: Move non-fatal warn logs to dbg level

PATCH In review Govind Singh 2 participants 3 messages Sep 24, 2020 – Sep 29, 2020 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: Move non-fatal warn logs to dbg level

During driver load below warn logs are printed in the console. Since driver may not implement all wmi events sent by fw and all of them are non-fatal, move this log to debug level to remove un-necessary warn message on console.

[876.898735] ath11k_pci 0000:06:00.0: Unknown eventid: 0x16005
[879.283250] ath11k_pci 0000:06:00.0: Unknown eventid: 0x1d00a

No functional changes. Compile tested only.

---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/wmi.c +1 -1
index adde14a390ec..1e5a46bdaa61 100644
@@ -6579,7 +6579,7 @@ static void ath11k_wmi_tlv_op_rx(struct ath11k_base *ab, struct sk_buff *skb)
 		break;
 	/* TODO: Add remaining events */
 	default:
-		ath11k_warn(ab, "Unknown eventid: 0x%x\n", id);
+		ath11k_dbg(ab, ATH11K_DBG_WMI, "Unknown eventid: 0x%x\n", id);
 		break;
 	}
 
Signature · 1 line
2.22.0
#1 lore raw
Quoted 5 lines · Govind Singh

During driver load below warn logs are printed in the console. Since driver may not implement all wmi events sent by fw and all of them are non-fatal, move this log to debug level to remove un-necessary warn message on console.

Quoted 7 lines
[876.898735] ath11k_pci 0000:06:00.0: Unknown eventid: 0x16005
[879.283250] ath11k_pci 0000:06:00.0: Unknown eventid: 0x1d00a

No functional changes. Compile tested only.

Patch applied to ath-next branch of ath.git, thanks.

82b4f9b857e7 ath11k: Move non-fatal warn logs to dbg level

Signature · 9 lines
https://patchwork.kernel.org/patch/11797129/

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


-- 
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#2 lore raw
In reply to Govind Singh
Quoted 5 lines · Govind Singh

During driver load below warn logs are printed in the console. Since driver may not implement all wmi events sent by fw and all of them are non-fatal, move this log to debug level to remove un-necessary warn message on console.

Quoted 7 lines
[876.898735] ath11k_pci 0000:06:00.0: Unknown eventid: 0x16005
[879.283250] ath11k_pci 0000:06:00.0: Unknown eventid: 0x1d00a

No functional changes. Compile tested only.

Patch applied to ath-next branch of ath.git, thanks.

82b4f9b857e7 ath11k: Move non-fatal warn logs to dbg level

Signature · 3 lines
https://patchwork.kernel.org/patch/11797129/

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