Skip to contentSkip to conversation

wifi: brcmfmac: wcc: Add debug messages

PATCH In review [email protected] 3 participants 3 messages May 9, 2023 – May 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: brcmfmac: wcc: Add debug messages

From: Matthias Brugger <[email protected]>

The message is attach and detach function are merly for debugging, change them from pr_err to pr_debug.

---

 drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/core.c +2 -2
index 02de99818efa..5573a47766ad 100644
@@ -12,13 +12,13 @@
 
 static int brcmf_wcc_attach(struct brcmf_pub *drvr)
 {
-	pr_err("%s: executing\n", __func__);
+	pr_debug("%s: executing\n", __func__);
 	return 0;
 }
 
 static void brcmf_wcc_detach(struct brcmf_pub *drvr)
 {
-	pr_err("%s: executing\n", __func__);
+	pr_debug("%s: executing\n", __func__);
 }
 
 const struct brcmf_fwvid_ops brcmf_wcc_ops = {
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 6 lines · On 5/9/23 12:04, [email protected] wrote:

From: Matthias Brugger <[email protected]>

The message is attach and detach function are merly for debugging, change them from pr_err to pr_debug.

Thank you, I had writing this same patch on my own TODO list :)

Patch looks good to me:

Regards,

Hans

Quoted 25 lines

---

 drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/wcc/core.c +2 -2
index 02de99818efa..5573a47766ad 100644
@@ -12,13 +12,13 @@
 
 static int brcmf_wcc_attach(struct brcmf_pub *drvr)
 {
-	pr_err("%s: executing\n", __func__);
+	pr_debug("%s: executing\n", __func__);
 	return 0;
 }
 
 static void brcmf_wcc_detach(struct brcmf_pub *drvr)
 {
-	pr_err("%s: executing\n", __func__);
+	pr_debug("%s: executing\n", __func__);
 }
 
 const struct brcmf_fwvid_ops brcmf_wcc_ops = {
#2 lore raw
In reply to [email protected]
Quoted 7 lines · [email protected] wrote:

From: Matthias Brugger <[email protected]>

The message is attach and detach function are merly for debugging, change them from pr_err to pr_debug.

Patch applied to wireless-next.git, thanks.

87807f77a03d wifi: brcmfmac: wcc: Add debug messages

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

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