All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Muhammed <jane.pnx9@gmail.com>
To: outreachy-kernel <outreachy-kernel@googlegroups.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sam Muhammed <jane.pnx9@gmail.com>
Subject: [PATCH 0/4] Staging: rtl8192u: ieee80211: Replace printk(KERN_<LEVEL> ...) with netdev_*() family.
Date: Thu, 26 Mar 2020 11:02:34 -0400	[thread overview]
Message-ID: <cover.1585233434.git.jane.pnx9@gmail.com> (raw)

Use the netdev_*() family across the driver, since it's specific
for network devices and already been used in multiple cases.
This series replaces the rest.
Checkpatch.pl: WARNINGS:

	Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then
	dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...

	Prefer [subsystem eg: netdev]_warn([subsystem]dev, ... then
	dev_warn(dev, ... then pr_warn(...  to printk(KERN_WARNING ...

	WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ...
	then dev_info(dev, ... then pr_info(...  to printk(KERN_INFO ...

	Prefer [subsystem eg: netdev]_alert([subsystem]dev, ... then
	dev_alert(dev, ... then pr_alert(...  to printk(KERN_ALERT ...

Sam Muhammed (4):
  Staging: rtl8192u: ieee80211: Use netdev_dbg() for debug messages.
  Staging: rtl8192u: ieee80211: Use netdev_warn() for network devices.
  Staging: rtl8192u: ieee80211: Use netdev_info() with network devices.
  Staging: rtl8192u: ieee80211: Use netdev_alert().

 .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 19 ++++++------
 .../rtl8192u/ieee80211/ieee80211_module.c     |  3 +-
 .../rtl8192u/ieee80211/ieee80211_softmac.c    | 30 +++++++++++--------
 .../rtl8192u/ieee80211/ieee80211_softmac_wx.c |  4 +--
 .../staging/rtl8192u/ieee80211/ieee80211_tx.c | 26 +++++++---------
 .../staging/rtl8192u/ieee80211/ieee80211_wx.c |  7 ++---
 6 files changed, 43 insertions(+), 46 deletions(-)

---
2.20.1



             reply	other threads:[~2020-03-26 15:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 15:02 Sam Muhammed [this message]
2020-03-26 15:02 ` [PATCH 1/4] Staging: rtl8192u: ieee80211: Use netdev_dbg() for debug messages Sam Muhammed
2020-03-30  7:59   ` [Outreachy kernel] " Stefano Brivio
2020-03-30 13:01     ` Sam Muhammed
2020-03-30 13:50       ` Stefano Brivio
2020-03-26 15:02 ` [PATCH 2/4] Staging: rtl8192u: ieee80211: Use netdev_warn() for network devices Sam Muhammed
2020-03-26 15:02 ` [PATCH 3/4] Staging: rtl8192u: ieee80211: Use netdev_info() with " Sam Muhammed
2020-03-26 15:02 ` [PATCH 4/4] Staging: rtl8192u: ieee80211: Use netdev_alert() Sam Muhammed

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=cover.1585233434.git.jane.pnx9@gmail.com \
    --to=jane.pnx9@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.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.