From: Joe Perches <joe@perches.com>
To: Marcel Holtmann <marcel@holtmann.org>, linux-bluetooth@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: [PATCH 0/2] bluetooth: Use current logging styles
Date: Wed, 29 Jun 2011 18:18:28 -0700 [thread overview]
Message-ID: <cover.1309396408.git.joe@perches.com> (raw)
In-Reply-To: <1309370457.2208.48.camel@aeonflux>
On Wed, 2011-06-29 at 11:00 -0700, Marcel Holtmann wrote:
> I did not know that. Then we might should go ahead and also cleanup the
> Bluetooth subsystem.
>
> We do use an implied "Bluetooth: " prefix when calling BT_INFO, but that
> can be easily changed to bt_info() as well since I do not care about
> that part.
>
> The Bluetooth subsystem has a Linux 2.4 legacy history and a lot of
> things can be done a lot nicer these days.
Here you go Marcel.
It reduces code/text a couple/few percent too.
Joe Perches (2):
bluetooth: Rename function bt_err to bt_to_errno
bluetooth: Add bt_printk, convert logging macros to lower case
drivers/bluetooth/ath3k.c | 48 ++++----
drivers/bluetooth/bcm203x.c | 38 +++---
drivers/bluetooth/bfusb.c | 94 +++++++-------
drivers/bluetooth/bluecard_cs.c | 18 ++--
drivers/bluetooth/bpa10x.c | 38 +++---
drivers/bluetooth/bt3c_cs.c | 34 +++---
drivers/bluetooth/btmrvl_debugfs.c | 2 +-
drivers/bluetooth/btmrvl_main.c | 74 ++++++------
drivers/bluetooth/btmrvl_sdio.c | 112 +++++++++---------
drivers/bluetooth/btsdio.c | 26 ++--
drivers/bluetooth/btuart_cs.c | 24 ++--
drivers/bluetooth/btusb.c | 64 +++++-----
drivers/bluetooth/btwilink.c | 34 +++---
drivers/bluetooth/dtl1_cs.c | 20 ++--
drivers/bluetooth/hci_ath.c | 14 +-
drivers/bluetooth/hci_bcsp.c | 58 +++++-----
drivers/bluetooth/hci_h4.c | 18 ++--
drivers/bluetooth/hci_ldisc.c | 36 +++---
drivers/bluetooth/hci_ll.c | 76 ++++++------
drivers/bluetooth/hci_vhci.c | 8 +-
include/net/bluetooth/bluetooth.h | 11 +-
net/bluetooth/af_bluetooth.c | 20 ++--
net/bluetooth/bnep/core.c | 26 ++--
net/bluetooth/bnep/netdev.c | 14 +-
net/bluetooth/bnep/sock.c | 10 +-
net/bluetooth/cmtp/capi.c | 46 ++++----
net/bluetooth/cmtp/core.c | 30 +++---
net/bluetooth/cmtp/sock.c | 10 +-
net/bluetooth/hci_conn.c | 52 ++++----
net/bluetooth/hci_core.c | 142 +++++++++++-----------
net/bluetooth/hci_event.c | 234 ++++++++++++++++++------------------
net/bluetooth/hci_sock.c | 26 ++--
net/bluetooth/hci_sysfs.c | 12 +-
net/bluetooth/hidp/core.c | 50 ++++----
net/bluetooth/hidp/sock.c | 10 +-
net/bluetooth/l2cap_core.c | 172 +++++++++++++-------------
net/bluetooth/l2cap_sock.c | 40 +++---
net/bluetooth/lib.c | 23 ++++-
net/bluetooth/mgmt.c | 80 ++++++------
net/bluetooth/rfcomm/core.c | 152 ++++++++++++------------
net/bluetooth/rfcomm/sock.c | 56 +++++-----
net/bluetooth/rfcomm/tty.c | 100 ++++++++--------
net/bluetooth/sco.c | 84 +++++++-------
net/bluetooth/smp.c | 30 +++---
44 files changed, 1144 insertions(+), 1122 deletions(-)
--
1.7.6.rc1
WARNING: multiple messages have this Message-ID (diff)
From: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
To: Marcel Holtmann <marcel-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>,
linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 0/2] bluetooth: Use current logging styles
Date: Wed, 29 Jun 2011 18:18:28 -0700 [thread overview]
Message-ID: <cover.1309396408.git.joe@perches.com> (raw)
In-Reply-To: <1309370457.2208.48.camel@aeonflux>
On Wed, 2011-06-29 at 11:00 -0700, Marcel Holtmann wrote:
> I did not know that. Then we might should go ahead and also cleanup the
> Bluetooth subsystem.
>
> We do use an implied "Bluetooth: " prefix when calling BT_INFO, but that
> can be easily changed to bt_info() as well since I do not care about
> that part.
>
> The Bluetooth subsystem has a Linux 2.4 legacy history and a lot of
> things can be done a lot nicer these days.
Here you go Marcel.
It reduces code/text a couple/few percent too.
Joe Perches (2):
bluetooth: Rename function bt_err to bt_to_errno
bluetooth: Add bt_printk, convert logging macros to lower case
drivers/bluetooth/ath3k.c | 48 ++++----
drivers/bluetooth/bcm203x.c | 38 +++---
drivers/bluetooth/bfusb.c | 94 +++++++-------
drivers/bluetooth/bluecard_cs.c | 18 ++--
drivers/bluetooth/bpa10x.c | 38 +++---
drivers/bluetooth/bt3c_cs.c | 34 +++---
drivers/bluetooth/btmrvl_debugfs.c | 2 +-
drivers/bluetooth/btmrvl_main.c | 74 ++++++------
drivers/bluetooth/btmrvl_sdio.c | 112 +++++++++---------
drivers/bluetooth/btsdio.c | 26 ++--
drivers/bluetooth/btuart_cs.c | 24 ++--
drivers/bluetooth/btusb.c | 64 +++++-----
drivers/bluetooth/btwilink.c | 34 +++---
drivers/bluetooth/dtl1_cs.c | 20 ++--
drivers/bluetooth/hci_ath.c | 14 +-
drivers/bluetooth/hci_bcsp.c | 58 +++++-----
drivers/bluetooth/hci_h4.c | 18 ++--
drivers/bluetooth/hci_ldisc.c | 36 +++---
drivers/bluetooth/hci_ll.c | 76 ++++++------
drivers/bluetooth/hci_vhci.c | 8 +-
include/net/bluetooth/bluetooth.h | 11 +-
net/bluetooth/af_bluetooth.c | 20 ++--
net/bluetooth/bnep/core.c | 26 ++--
net/bluetooth/bnep/netdev.c | 14 +-
net/bluetooth/bnep/sock.c | 10 +-
net/bluetooth/cmtp/capi.c | 46 ++++----
net/bluetooth/cmtp/core.c | 30 +++---
net/bluetooth/cmtp/sock.c | 10 +-
net/bluetooth/hci_conn.c | 52 ++++----
net/bluetooth/hci_core.c | 142 +++++++++++-----------
net/bluetooth/hci_event.c | 234 ++++++++++++++++++------------------
net/bluetooth/hci_sock.c | 26 ++--
net/bluetooth/hci_sysfs.c | 12 +-
net/bluetooth/hidp/core.c | 50 ++++----
net/bluetooth/hidp/sock.c | 10 +-
net/bluetooth/l2cap_core.c | 172 +++++++++++++-------------
net/bluetooth/l2cap_sock.c | 40 +++---
net/bluetooth/lib.c | 23 ++++-
net/bluetooth/mgmt.c | 80 ++++++------
net/bluetooth/rfcomm/core.c | 152 ++++++++++++------------
net/bluetooth/rfcomm/sock.c | 56 +++++-----
net/bluetooth/rfcomm/tty.c | 100 ++++++++--------
net/bluetooth/sco.c | 84 +++++++-------
net/bluetooth/smp.c | 30 +++---
44 files changed, 1144 insertions(+), 1122 deletions(-)
--
1.7.6.rc1
next prev parent reply other threads:[~2011-06-30 1:18 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 18:20 [PATCH v4 0/6] NFC subsystem Aloisio Almeida Jr
2011-06-28 18:20 ` [PATCH v4 1/6] NFC: add nfc subsystem core Aloisio Almeida Jr
2011-06-28 20:18 ` Joe Perches
2011-06-28 23:31 ` Aloisio Almeida
2011-06-28 23:52 ` Joe Perches
2011-06-29 1:31 ` Marcel Holtmann
2011-06-29 1:49 ` Joe Perches
2011-06-29 18:00 ` Marcel Holtmann
2011-06-29 23:23 ` Aloisio Almeida
2011-06-29 23:46 ` Joe Perches
2011-06-30 3:26 ` Aloisio Almeida
2011-06-30 4:28 ` RFC: Add __dynamic_dev_dbg Joe Perches
2011-06-30 4:49 ` Joe Perches
2011-06-30 16:32 ` Jason Baron
2011-06-30 18:14 ` [PATCH 0/4] dynamic_debug Joe Perches
2011-06-30 18:14 ` [PATCH 1/4] dynamic_debug: Add __dynamic_dev_dbg Joe Perches
2011-06-30 18:14 ` [PATCH 2/4] dynamic_debug: Consolidate prefix output to single routine Joe Perches
2011-06-30 18:14 ` [PATCH 3/4] dynamic_debug: Remove uses of KERN_CONT in dynamic_emit_prefix Joe Perches
2011-06-30 18:14 ` [PATCH 4/4] dynamic_debug: Convert printks to pr_<level> Joe Perches
2011-06-30 19:51 ` [PATCH 0/4] dynamic_debug Jason Baron
2011-06-30 1:18 ` Joe Perches [this message]
2011-06-30 1:18 ` [PATCH 0/2] bluetooth: Use current logging styles Joe Perches
2011-06-30 1:18 ` [PATCH 1/2] bluetooth: Rename function bt_err to bt_to_errno Joe Perches
2011-07-01 19:04 ` Gustavo F. Padovan
2011-06-30 1:18 ` [PATCH 2/2] bluetooth: Add bt_printk, convert logging macros to lower case Joe Perches
2011-06-30 3:31 ` Gustavo F. Padovan
2011-06-30 3:31 ` Gustavo F. Padovan
2011-06-30 3:47 ` Joe Perches
2011-06-30 7:19 ` [PATCH] bluetooth: Add bt_printk Joe Perches
2011-06-30 7:19 ` Joe Perches
2011-07-01 19:03 ` Gustavo F. Padovan
2011-07-01 19:03 ` Gustavo F. Padovan
2011-07-01 19:36 ` Gustavo F. Padovan
2011-06-28 18:20 ` [PATCH v4 2/6] NFC: add nfc generic netlink interface Aloisio Almeida Jr
2011-06-28 18:20 ` [PATCH v4 3/6] NFC: add NFC socket family Aloisio Almeida Jr
2011-06-28 18:20 ` [PATCH v4 4/6] NFC: add the NFC socket raw protocol Aloisio Almeida Jr
2011-06-28 18:20 ` [PATCH v4 5/6] NFC: pn533: add NXP pn533 nfc device driver Aloisio Almeida Jr
2011-06-28 18:20 ` [PATCH v4 6/6] NFC: add Documentation/networking/nfc.txt Aloisio Almeida Jr
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.1309396408.git.joe@perches.com \
--to=joe@perches.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=netdev@vger.kernel.org \
/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.