summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ipath/ipath_driver.c
diff options
context:
space:
mode:
authorBryan O'Sullivan <bryan.osullivan@qlogic.com>2007-03-15 14:44:52 -0700
committerRoland Dreier <rolandd@cisco.com>2007-04-18 20:20:55 -0700
commit39c0d0b919ae5080163bd2d41c0271cda250d382 (patch)
tree6f3cb50a0266a5f27242429e3241243b7d32de60 /drivers/infiniband/hw/ipath/ipath_driver.c
parent3859e39d75b72f35f7d38c618fbbacb39a440c22 (diff)
downloadlinux-3.10-39c0d0b919ae5080163bd2d41c0271cda250d382.tar.gz
linux-3.10-39c0d0b919ae5080163bd2d41c0271cda250d382.tar.bz2
linux-3.10-39c0d0b919ae5080163bd2d41c0271cda250d382.zip
IB/ipath: Fix up some debug messages
ipath_dbg doesn't need the same prefixes that printk does. Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c
index c2fe5417ff4..53eb4550bcd 100644
--- a/drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -1989,7 +1989,8 @@ static int __init infinipath_init(void)
{
int ret;
- ipath_dbg(KERN_INFO DRIVER_LOAD_MSG "%s", ib_ipath_version);
+ if (ipath_debug & __IPATH_DBG)
+ printk(KERN_INFO DRIVER_LOAD_MSG "%s", ib_ipath_version);
/*
* These must be called before the driver is registered with