From: Ping-Ke Shih <pkshih@realtek.com>
To: Bitterblue Smith <rtl8821cerfe2@gmail.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>
Subject: RE: [PATCH v2 5/5] wifi: rtl8xxxu: Use dev_info instead of pr_info
Date: Tue, 25 Oct 2022 01:48:08 +0000 [thread overview]
Message-ID: <07458c00f00c4d048cfabe12b9495ba5@realtek.com> (raw)
In-Reply-To: <fb69614a-a06a-ab59-fae2-9443e96e249b@gmail.com>
> -----Original Message-----
> From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Sent: Tuesday, October 25, 2022 4:59 AM
> To: linux-wireless@vger.kernel.org
> Cc: Jes Sorensen <Jes.Sorensen@gmail.com>
> Subject: [PATCH v2 5/5] wifi: rtl8xxxu: Use dev_info instead of pr_info
>
> Replace two instances of bare pr_info with dev_info.
>
> Also make their messages a little more informative.
>
> Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
> ---
> v2:
> - No change.
> ---
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> index 8bab7247460d..9d5ae83dad70 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
> @@ -2015,7 +2015,8 @@ static int rtl8xxxu_download_firmware(struct rtl8xxxu_priv *priv)
>
> val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL);
> if (val8 & MCU_FW_RAM_SEL) {
> - pr_info("do the RAM reset\n");
> + dev_info(&priv->udev->dev,
> + "Firmware is already running, resetting the MCU.\n");
> rtl8xxxu_write8(priv, REG_MCU_FW_DL, 0x00);
> priv->fops->reset_8051(priv);
> }
> @@ -5420,7 +5421,8 @@ static void rtl8xxxu_rx_urb_work(struct work_struct *work)
> rtl8xxxu_queue_rx_urb(priv, rx_urb);
> break;
> default:
> - pr_info("failed to requeue urb %i\n", ret);
> + dev_info(&priv->udev->dev,
> + "failed to requeue urb with error %i\n", ret);
> skb = (struct sk_buff *)rx_urb->urb.context;
> dev_kfree_skb(skb);
> usb_free_urb(&rx_urb->urb);
> --
> 2.38.0
>
> ------Please consider the environment before printing this e-mail.
next prev parent reply other threads:[~2022-10-25 1:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 20:53 [PATCH v2 1/5] wifi: rtl8xxxu: Add central frequency offset tracking Bitterblue Smith
2022-10-24 20:54 ` [PATCH v2 2/5] wifi: rtl8xxxu: Fix the CCK RSSI calculation Bitterblue Smith
2022-10-25 3:46 ` Ping-Ke Shih
2022-10-26 12:06 ` Bitterblue Smith
2022-10-24 20:56 ` [PATCH v2 3/5] wifi: rtl8xxxu: Recognise all possible chip cuts Bitterblue Smith
2022-10-25 1:45 ` Ping-Ke Shih
2022-10-24 20:57 ` [PATCH v2 4/5] wifi: rtl8xxxu: Set IEEE80211_HW_SUPPORT_FAST_XMIT Bitterblue Smith
2022-10-25 1:46 ` Ping-Ke Shih
2022-10-24 20:58 ` [PATCH v2 5/5] wifi: rtl8xxxu: Use dev_info instead of pr_info Bitterblue Smith
2022-10-25 1:48 ` Ping-Ke Shih [this message]
2022-10-25 1:13 ` [PATCH v2 1/5] wifi: rtl8xxxu: Add central frequency offset tracking Ping-Ke Shih
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=07458c00f00c4d048cfabe12b9495ba5@realtek.com \
--to=pkshih@realtek.com \
--cc=Jes.Sorensen@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rtl8821cerfe2@gmail.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.