login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
20
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Davidlohr Bueso
Subject:
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
Date: Wednesday, October 20, 2010 - 12:19 pm
On Wed, 2010-10-20 at 09:42 +0200, Jean Delvare wrote:
quoted text
> Hi Joe, > > On Tue, 19 Oct 2010 16:13:40 -0700, Joe Perches wrote: > > Convert printks to pr_<level> > > Coalesce long formats > > Removed prefixes from formats > > Added #define pr_fmt KBUILD_MODNAME ": " fmt > > Standardized abitguru messages for reporting and finding MAINTAINER > > (...) > > diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c > > index 03694cc..8f07a9d 100644 > > --- a/drivers/hwmon/abituguru.c > > +++ b/drivers/hwmon/abituguru.c > > @@ -20,6 +20,9 @@ > > the custom Abit uGuru chip found on Abit uGuru motherboards. Note: because > > of lack of specs the CPU/RAM voltage & frequency control is not supported! > > */ > > + > > +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > + > > #include <linux/module.h> > > It looks odd that every driver would have to set this. Shouldn't this > be the default set in <linux/kernel.h>? Something like: > > #ifndef pr_fmt > #ifdef KBUILD_MODNAME > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > #else > #define pr_fmt(fmt) fmt > #endif /* KBUILD_MODNAME */ > #endif >
Well we do have this: #ifndef pr_fmt #define pr_fmt(fmt) fmt #endif Cheers, Davidlohr --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 4:13 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Oct 19, 8:29 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 8:34 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Oct 19, 8:53 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 9:07 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Henrik Rydberg
, (Tue Oct 19, 11:04 pm)
[PATCH 00/32] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 01/32] drivers/hwmon/abituguru.c: Use pr_fmt and pr ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 02/32] drivers/hwmon/abituguru3.c: Use pr_fmt and p ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 03/32] drivers/hwmon/adt7470.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 04/32] drivers/hwmon/applesmc.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 05/32] drivers/hwmon/asb100.c: Use pr_fmt and pr_<l ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 06/32] drivers/hwmon/asus_atk0110.c: Use pr_fmt and ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 07/32] drivers/hwmon/coretemp.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 08/32] drivers/hwmon/dme1737.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 09/32] drivers/hwmon/f71805f.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 10/32] drivers/hwmon/f71882fg.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 11/32] drivers/hwmon/hp_accel.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 12/32] drivers/hwmon/hwmon-vid.c: Use pr_fmt and pr ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 13/32] drivers/hwmon/hwmon.c: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 14/32] drivers/hwmon/ibmaem.c: Use pr_fmt and pr_<l ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 15/32] drivers/hwmon/it87.c: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 16/32] drivers/hwmon/lis3lv02d.c: Use pr_fmt and pr ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 17/32] drivers/hwmon/lm70.c: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 18/32] drivers/hwmon/lm78.c: Use pr_fmt and pr_<level>
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 19/32] drivers/hwmon/pc87360.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 20/32] drivers/hwmon/pc87427.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 21/32] drivers/hwmon/pcf8591.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 22/32] drivers/hwmon/pkgtemp.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 23/32] drivers/hwmon/sis5595.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 24/32] drivers/hwmon/smsc47b397.c: Use pr_fmt and p ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 25/32] drivers/hwmon/smsc47m1.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 26/32] drivers/hwmon/via-cputemp.c: Use pr_fmt and ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 27/32] drivers/hwmon/via686a.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 28/32] drivers/hwmon/vt1211.c: Use pr_fmt and pr_<l ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 29/32] drivers/hwmon/vt8231.c: Use pr_fmt and pr_<l ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 30/32] drivers/hwmon/w83627ehf.c: Use pr_fmt and pr ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 31/32] drivers/hwmon/w83627hf.c: Use pr_fmt and pr_ ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
[PATCH 32/32] drivers/hwmon/w83781d.c: Use pr_fmt and pr_< ...
, Joe Perches
, (Tue Oct 19, 11:51 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 12:34 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 12:42 am)
Re: [PATCH 04/32] drivers/hwmon/applesmc.c: Use pr_fmt and ...
, Henrik Rydberg
, (Wed Oct 20, 2:54 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 7:46 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 8:59 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 9:08 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 9:27 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 9:38 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 9:42 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 9:43 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 9:45 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 9:46 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 9:49 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 9:54 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 10:18 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 10:28 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 10:48 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 11:02 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 11:03 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Wed Oct 20, 11:35 am)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 12:08 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Davidlohr Bueso
, (Wed Oct 20, 12:19 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 12:38 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 12:52 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 12:57 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Joe Perches
, (Wed Oct 20, 12:59 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jean Delvare
, (Wed Oct 20, 1:13 pm)
Re: [PATCH] drivers/hwmon: Use pr_fmt and pr_<level>
, Jim Cromie
, (Wed Oct 20, 1:36 pm)
Re: [PATCH 15/32] drivers/hwmon/it87.c: Use pr_fmt and pr_ ...
, Jean Delvare
, (Tue Nov 9, 2:21 am)
Re: [PATCH 18/32] drivers/hwmon/lm78.c: Use pr_fmt and pr_ ...
, Jean Delvare
, (Tue Nov 9, 2:25 am)
Re: [PATCH 19/32] drivers/hwmon/pc87360.c: Use pr_fmt and ...
, Jean Delvare
, (Tue Nov 9, 2:31 am)
Re: [PATCH 20/32] drivers/hwmon/pc87427.c: Use pr_fmt and ...
, Jean Delvare
, (Tue Nov 9, 2:35 am)
Re: [PATCH 32/32] drivers/hwmon/w83781d.c: Use pr_fmt and ...
, Jean Delvare
, (Tue Nov 9, 2:39 am)
Re: [PATCH 19/32] drivers/hwmon/pc87360.c: Use pr_fmt and ...
, Joe Perches
, (Tue Nov 9, 2:59 am)
Re: [PATCH 32/32] drivers/hwmon/w83781d.c: Use pr_fmt and ...
, Joe Perches
, (Tue Nov 9, 3:04 am)
Re: [PATCH 19/32] drivers/hwmon/pc87360.c: Use pr_fmt and ...
, Jean Delvare
, (Tue Nov 9, 5:08 am)
Re: [01/32] drivers/hwmon/abituguru.c: Use pr_fmt and pr_< ...
, Guenter Roeck
, (Tue Nov 9, 9:25 am)
Re: [02/32] drivers/hwmon/abituguru3.c: Use pr_fmt and pr_ ...
, Guenter Roeck
, (Tue Nov 9, 9:28 am)
Re: [03/32] drivers/hwmon/adt7470.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:29 am)
Re: [04/32] drivers/hwmon/applesmc.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 9:35 am)
Re: [05/32] drivers/hwmon/asb100.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:35 am)
Re: [06/32] drivers/hwmon/asus_atk0110.c: Use pr_fmt and p ...
, Guenter Roeck
, (Tue Nov 9, 9:37 am)
Re: [07/32] drivers/hwmon/coretemp.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 9:38 am)
Re: [08/32] drivers/hwmon/dme1737.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:39 am)
Re: [09/32] drivers/hwmon/f71805f.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:40 am)
Re: [10/32] drivers/hwmon/f71882fg.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 9:41 am)
Re: [11/32] drivers/hwmon/hp_accel.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 9:42 am)
Re: [12/32] drivers/hwmon/hwmon-vid.c: Use pr_fmt and pr_< ...
, Guenter Roeck
, (Tue Nov 9, 9:43 am)
Re: [13/32] drivers/hwmon/hwmon.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:44 am)
Re: [14/32] drivers/hwmon/ibmaem.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:44 am)
Re: [16/32] drivers/hwmon/lis3lv02d.c: Use pr_fmt and pr_< ...
, Guenter Roeck
, (Tue Nov 9, 9:46 am)
Re: [17/32] drivers/hwmon/lm70.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:47 am)
Re: [21/32] drivers/hwmon/pcf8591.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:49 am)
Re: [22/32] drivers/hwmon/pkgtemp.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:50 am)
Re: [23/32] drivers/hwmon/sis5595.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:51 am)
Re: [24/32] drivers/hwmon/smsc47b397.c: Use pr_fmt and pr_ ...
, Guenter Roeck
, (Tue Nov 9, 9:51 am)
Re: [25/32] drivers/hwmon/smsc47m1.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 9:52 am)
Re: [26/32] drivers/hwmon/via-cputemp.c: Use pr_fmt and pr ...
, Guenter Roeck
, (Tue Nov 9, 9:53 am)
Re: [27/32] drivers/hwmon/via686a.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:54 am)
Re: [28/32] drivers/hwmon/vt1211.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:57 am)
Re: [29/32] drivers/hwmon/vt8231.c: Use pr_fmt and pr_<level>
, Guenter Roeck
, (Tue Nov 9, 9:58 am)
Re: [30/32] drivers/hwmon/w83627ehf.c: Use pr_fmt and pr_< ...
, Guenter Roeck
, (Tue Nov 9, 9:59 am)
Re: [31/32] drivers/hwmon/w83627hf.c: Use pr_fmt and pr_<l ...
, Guenter Roeck
, (Tue Nov 9, 10:00 am)
Re: [06/32] drivers/hwmon/asus_atk0110.c: Use pr_fmt and p ...
, Luca Tettamanti
, (Tue Nov 9, 1:15 pm)
Re: [06/32] drivers/hwmon/asus_atk0110.c: Use pr_fmt and p ...
, Guenter Roeck
, (Tue Nov 9, 1:34 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate