From: Joe Perches <joe@perches.com>
To: Larry Finger <Larry.Finger@lwfinger.net>, kvalo@codeaurora.org
Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org,
Ping-Ke Shih <pkshih@realtek.com>
Subject: Re: [PATCH 03/14 V2] rtlwifi: rtl8821ae: Remove all instances of DBG_EMERG
Date: Fri, 16 Dec 2016 11:34:54 -0800 [thread overview]
Message-ID: <1481916894.20419.3.camel@perches.com> (raw)
In-Reply-To: <20161215182310.13713-4-Larry.Finger@lwfinger.net>
On Thu, 2016-12-15 at 12:22 -0600, Larry Finger wrote:
> This is a step toward eliminating the RT_TRACE macros. Those calls that
> have DBG_EMERG as the level are always logged, and they represent error
> conditions, thus they are replaced with pr_err().
OK,
> diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c
[]
> @@ -162,8 +161,8 @@ static int _rtl8821ae_fw_free_to_go(struct ieee80211_hw *hw)
> goto exit;
> }
>
> - RT_TRACE(rtlpriv, COMP_FW, DBG_EMERG,
> - "Checksum report OK ! REG_MCUFWDL:0x%08x .\n", value32);
> + pr_err("Checksum report OK! REG_MCUFWDL:0x%08x\n",
> + value32);
>
> value32 = rtl_read_dword(rtlpriv, REG_MCUFWDL);
> value32 |= MCUFWDL_RDY;
> @@ -186,9 +184,8 @@ static int _rtl8821ae_fw_free_to_go(struct ieee80211_hw *hw)
> udelay(FW_8821AE_POLLING_DELAY);
> } while (counter++ < FW_8821AE_POLLING_TIMEOUT_COUNT);
>
> - RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
> - "Polling FW ready fail!! REG_MCUFWDL:0x%08x .\n",
> - value32);
> + pr_err("Polling FW ready fail!! REG_MCUFWDL:0x%08x .\n",
> + value32);
It's odd to fix / remove " .\n" above but here and
the wrapping comment on the first patch applies too.
I didn't look at the rest and I won't comment on
other uses in any further patches in the series.
Thanks, Joe
next prev parent reply other threads:[~2016-12-16 19:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-15 18:22 [PATCH 00/14 V2] rtlwifi: Start reworking of debug system Larry Finger
2016-12-15 18:22 ` [PATCH 01/14 V2] rtlwifi: Replace local debug macro RT_ASSERT Larry Finger
2016-12-30 13:55 ` [01/14,V2] " Kalle Valo
2016-12-15 18:22 ` [PATCH 02/14 V2] rtlwifi: Remove RT_TRACE messages that use DBG_EMERG Larry Finger
2016-12-16 19:31 ` Joe Perches
2016-12-15 18:22 ` [PATCH 03/14 V2] rtlwifi: rtl8821ae: Remove all instances of DBG_EMERG Larry Finger
2016-12-16 19:34 ` Joe Perches [this message]
2016-12-15 18:23 ` [PATCH 04/14 V2] rtlwifi: rtl8723be: " Larry Finger
2016-12-15 18:23 ` [PATCH 05/14 V2] rtlwifi: rtl8723ae: " Larry Finger
2016-12-15 18:23 ` [PATCH 06/14 V2] rtlwifi: rtl8192ee: " Larry Finger
2016-12-15 18:23 ` [PATCH 07/14 V2] rtlwifi: rtl8723-common: " Larry Finger
2016-12-15 18:23 ` [PATCH 08/14] rtlwifi: rtl8192se: " Larry Finger
2016-12-15 18:23 ` [PATCH 09/14 V2] rtlwifi: rtl8192de: " Larry Finger
2016-12-15 18:23 ` [PATCH 10/14 V2] rtlwifi: rtl8192cu: " Larry Finger
2016-12-15 18:23 ` [PATCH 11/14 V2] rtlwifi: rtl8192ce: " Larry Finger
2016-12-15 18:23 ` [PATCH 12/14 V2] rtlwifi: rtl8192c-common: " Larry Finger
2016-12-15 18:23 ` [PATCH 13/14 V2] rtlwifi: rtl8188ee: " Larry Finger
2016-12-15 18:23 ` [PATCH 14/14 V2] rtlwifi: Remove some redundant code Larry Finger
2016-12-30 13:53 ` Kalle Valo
2017-01-10 9:55 ` [PATCH next] rtlwifi: rtl8192de: fix missing curly braces Vincent Stehlé
2017-01-12 15:11 ` [next] " Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481916894.20419.3.camel@perches.com \
--to=joe@perches.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=kvalo@codeaurora.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.