From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: Frank Seidel <fseidel@suse.de>
Cc: linux kernel <linux-kernel@vger.kernel.org>,
linux-pci@vger.kernel.org, jbarnes@virtuousgeek.org,
greg@kroah.com, kristen.c.accardi@intel.com, ashok.raj@intel.com,
shaohua.li@intel.com, anil.s.keshavamurthy@intel.com,
fenghua.yu@intel.com, akpm@linux-foundation.org,
frank@f-seidel.de, Frans Pop <elendil@planet.nl>,
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>,
Taku Izumi <izumi.taku@jp.fujitsu.com>
Subject: Re: [PATCHv3] PCI: add missing KERN_* constants to printks
Date: Mon, 09 Feb 2009 15:47:47 +0900 [thread overview]
Message-ID: <498FD193.60506@jp.fujitsu.com> (raw)
In-Reply-To: <498C0198.3020408@suse.de>
Thank you for the updated patch.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thanks,
Kenji Kaneshige
Frank Seidel wrote:
> From: Frank Seidel <frank@f-seidel.de>
>
> According to kerneljanitors todo list all printk calls (beginning
> a new line) should have an according KERN_* constant.
> Those are the missing pieces here for the pci subsystem.
>
> Signed-off-by: Frank Seidel <frank@f-seidel.de>
> ---
> drivers/pci/hotplug/pciehp.h | 10 +++++-----
> drivers/pci/hotplug/shpchp.h | 10 +++++-----
> drivers/pci/intel-iommu.c | 2 +-
> 3 files changed, 11 insertions(+), 11 deletions(-)
>
> --- a/drivers/pci/intel-iommu.c
> +++ b/drivers/pci/intel-iommu.c
> @@ -1960,7 +1960,7 @@ static inline void iommu_prepare_isa(voi
> ret = iommu_prepare_identity_map(pdev, 0, 16*1024*1024);
>
> if (ret)
> - printk("IOMMU: Failed to create 0-64M identity map, "
> + printk(KERN_ERR "IOMMU: Failed to create 0-64M identity map, "
> "floppy might not work\n");
>
> }
> --- a/drivers/pci/hotplug/pciehp.h
> +++ b/drivers/pci/hotplug/pciehp.h
> @@ -46,10 +46,10 @@ extern int pciehp_force;
> extern struct workqueue_struct *pciehp_wq;
>
> #define dbg(format, arg...) \
> - do { \
> - if (pciehp_debug) \
> - printk("%s: " format, MY_NAME , ## arg); \
> - } while (0)
> +do { \
> + if (pciehp_debug) \
> + printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
> +} while (0)
> #define err(format, arg...) \
> printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
> #define info(format, arg...) \
> @@ -60,7 +60,7 @@ extern struct workqueue_struct *pciehp_w
> #define ctrl_dbg(ctrl, format, arg...) \
> do { \
> if (pciehp_debug) \
> - dev_printk(, &ctrl->pcie->device, \
> + dev_printk(KERN_DEBUG, &ctrl->pcie->device, \
> format, ## arg); \
> } while (0)
> #define ctrl_err(ctrl, format, arg...) \
> --- a/drivers/pci/hotplug/shpchp.h
> +++ b/drivers/pci/hotplug/shpchp.h
> @@ -48,10 +48,10 @@ extern int shpchp_debug;
> extern struct workqueue_struct *shpchp_wq;
>
> #define dbg(format, arg...) \
> - do { \
> - if (shpchp_debug) \
> - printk("%s: " format, MY_NAME , ## arg); \
> - } while (0)
> +do { \
> + if (shpchp_debug) \
> + printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \
> +} while (0)
> #define err(format, arg...) \
> printk(KERN_ERR "%s: " format, MY_NAME , ## arg)
> #define info(format, arg...) \
> @@ -62,7 +62,7 @@ extern struct workqueue_struct *shpchp_w
> #define ctrl_dbg(ctrl, format, arg...) \
> do { \
> if (shpchp_debug) \
> - dev_printk(, &ctrl->pci_dev->dev, \
> + dev_printk(KERN_DEBUG, &ctrl->pci_dev->dev, \
> format, ## arg); \
> } while (0)
> #define ctrl_err(ctrl, format, arg...) \
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2009-02-09 6:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-05 17:25 [PATCH] PCI: add missing KERN_* constants to printks Frank Seidel
2009-02-05 17:28 ` Greg KH
2009-02-05 17:32 ` Frank Seidel
2009-02-05 17:36 ` Frank Seidel
2009-02-05 17:49 ` Greg KH
2009-02-05 18:01 ` Frank Seidel
2009-02-05 18:02 ` [PATCHv2] " Frank Seidel
2009-02-06 8:04 ` Kenji Kaneshige
2009-02-06 8:07 ` Frank Seidel
2009-02-06 8:57 ` Kenji Kaneshige
2009-02-06 9:01 ` Taku Izumi
2009-02-06 9:16 ` Frank Seidel
2009-02-06 10:23 ` Geert Uytterhoeven
2009-02-06 9:23 ` [PATCHv3] " Frank Seidel
2009-02-09 6:47 ` Kenji Kaneshige [this message]
2009-02-13 21:16 ` Jesse Barnes
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=498FD193.60506@jp.fujitsu.com \
--to=kaneshige.kenji@jp.fujitsu.com \
--cc=Geert.Uytterhoeven@sonycom.com \
--cc=akpm@linux-foundation.org \
--cc=anil.s.keshavamurthy@intel.com \
--cc=ashok.raj@intel.com \
--cc=elendil@planet.nl \
--cc=fenghua.yu@intel.com \
--cc=frank@f-seidel.de \
--cc=fseidel@suse.de \
--cc=greg@kroah.com \
--cc=izumi.taku@jp.fujitsu.com \
--cc=jbarnes@virtuousgeek.org \
--cc=kristen.c.accardi@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=shaohua.li@intel.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.