summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2010-10-22 20:41:24 +0000
committerRoland Dreier <rolandd@cisco.com>2010-10-26 16:09:02 -0700
commit82fdb0ab54096b8dbc8558e2dd37e9e0ac180db8 (patch)
treefdea0faeb854a7f161985326021d2e50b299a49f /drivers
parent5715f5d44b93507693feca6c62290e123e5ef688 (diff)
downloadlinux-3.10-82fdb0ab54096b8dbc8558e2dd37e9e0ac180db8.tar.gz
linux-3.10-82fdb0ab54096b8dbc8558e2dd37e9e0ac180db8.tar.bz2
linux-3.10-82fdb0ab54096b8dbc8558e2dd37e9e0ac180db8.zip
IB/qib: Fix extra log level in qib_early_err()
Noticed this odd looking thing in dmesg: ib_qib 0000:02:00.0: <3>ib_qib: Unable to enable pcie error reporting: -5 which is due to a bad use of dev_info. Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Acked-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/qib/qib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h
index 61de0654820..64c9e7d02d4 100644
--- a/drivers/infiniband/hw/qib/qib.h
+++ b/drivers/infiniband/hw/qib/qib.h
@@ -1406,7 +1406,7 @@ extern struct mutex qib_mutex;
*/
#define qib_early_err(dev, fmt, ...) \
do { \
- dev_info(dev, KERN_ERR QIB_DRV_NAME ": " fmt, ##__VA_ARGS__); \
+ dev_err(dev, fmt, ##__VA_ARGS__); \
} while (0)
#define qib_dev_err(dd, fmt, ...) \