diff options
author | Leon Romanovsky <leon@kernel.org> | 2016-11-03 10:44:18 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-03 13:12:52 -0500 |
commit | c40a83b9786e99a78c849f2f33448426bf8fa0f2 (patch) | |
tree | 2cae2360101923890d7335572cd2027fa3975119 | |
parent | 315b41480bb956b223a04c6556f04c9b7c74c8c2 (diff) |
IB/qib: Remove debug prints after allocation failure
The prints after [k|v][m|z|c]alloc() functions are not needed,
because in case of failure, allocator will print their internal
error prints anyway.
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | drivers/infiniband/hw/qib/qib_diag.c | 6 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_eeprom.c | 6 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba6120.c | 8 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7220.c | 8 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_iba7322.c | 22 | ||||
-rw-r--r-- | drivers/infiniband/hw/qib/qib_init.c | 47 |
6 files changed, 17 insertions, 80 deletions
diff --git a/drivers/infiniband/hw/qib/qib_diag.c b/drivers/infiniband/hw/qib/qib_diag.c index 8c34b23e5bf6..775018b32b0d 100644 --- a/drivers/infiniband/hw/qib/qib_diag.c +++ b/drivers/infiniband/hw/qib/qib_diag.c | |||
@@ -609,8 +609,6 @@ static ssize_t qib_diagpkt_write(struct file *fp, | |||
609 | 609 | ||
610 | tmpbuf = vmalloc(plen); | 610 | tmpbuf = vmalloc(plen); |
611 | if (!tmpbuf) { | 611 | if (!tmpbuf) { |
612 | qib_devinfo(dd->pcidev, | ||
613 | "Unable to allocate tmp buffer, failing\n"); | ||
614 | ret = -ENOMEM; | 612 | ret = -ENOMEM; |
615 | goto bail; | 613 | goto bail; |
616 | } | 614 | } |
@@ -702,10 +700,8 @@ int qib_register_observer(struct qib_devdata *dd, | |||
702 | if (!dd || !op) | 700 | if (!dd || !op) |
703 | return -EINVAL; | 701 | return -EINVAL; |
704 | olp = vmalloc(sizeof(*olp)); | 702 | olp = vmalloc(sizeof(*olp)); |
705 | if (!olp) { | 703 | if (!olp) |
706 | pr_err("vmalloc for observer failed\n"); | ||
707 | return -ENOMEM; | 704 | return -ENOMEM; |
708 | } | ||
709 | 705 | ||
710 | spin_lock_irqsave(&dd->qib_diag_trans_lock, flags); | 706 | spin_lock_irqsave(&dd->qib_diag_trans_lock, flags); |
711 | olp->op = op; | 707 | olp->op = op; |
diff --git a/drivers/infiniband/hw/qib/qib_eeprom.c b/drivers/infiniband/hw/qib/qib_eeprom.c index 311ee6c3dd5e..33a2e74c8495 100644 --- a/drivers/infiniband/hw/qib/qib_eeprom.c +++ b/drivers/infiniband/hw/qib/qib_eeprom.c | |||
@@ -182,12 +182,8 @@ void qib_get_eeprom_info(struct qib_devdata *dd) | |||
182 | * */ | 182 | * */ |
183 | len = sizeof(struct qib_flash); | 183 | len = sizeof(struct qib_flash); |
184 | buf = vmalloc(len); | 184 | buf = vmalloc(len); |
185 | if (!buf) { | 185 | if (!buf) |
186 | qib_dev_err(dd, | ||
187 | "Couldn't allocate memory to read %u bytes from eeprom for GUID\n", | ||
188 | len); | ||
189 | goto bail; | 186 | goto bail; |
190 | } | ||
191 | 187 | ||
192 | /* | 188 | /* |
193 | * Use "public" eeprom read function, which does locking and | 189 | * Use "public" eeprom read function, which does locking and |
diff --git a/drivers/infiniband/hw/qib/qib_iba6120.c b/drivers/infiniband/hw/qib/qib_iba6120.c index a3733f25280f..92399d3ffd15 100644 --- a/drivers/infiniband/hw/qib/qib_iba6120.c +++ b/drivers/infiniband/hw/qib/qib_iba6120.c | |||
@@ -1759,9 +1759,7 @@ static void pe_boardname(struct qib_devdata *dd) | |||
1759 | } | 1759 | } |
1760 | namelen = strlen(n) + 1; | 1760 | namelen = strlen(n) + 1; |
1761 | dd->boardname = kmalloc(namelen, GFP_KERNEL); | 1761 | dd->boardname = kmalloc(namelen, GFP_KERNEL); |
1762 | if (!dd->boardname) | 1762 | if (dd->boardname) |
1763 | qib_dev_err(dd, "Failed allocation for board name: %s\n", n); | ||
1764 | else | ||
1765 | snprintf(dd->boardname, namelen, "%s", n); | 1763 | snprintf(dd->boardname, namelen, "%s", n); |
1766 | 1764 | ||
1767 | if (dd->majrev != 4 || !dd->minrev || dd->minrev > 2) | 1765 | if (dd->majrev != 4 || !dd->minrev || dd->minrev > 2) |
@@ -2533,8 +2531,6 @@ static void init_6120_cntrnames(struct qib_devdata *dd) | |||
2533 | dd->cspec->cntrnamelen = 1 + s - cntr6120names; | 2531 | dd->cspec->cntrnamelen = 1 + s - cntr6120names; |
2534 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs | 2532 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs |
2535 | * sizeof(u64), GFP_KERNEL); | 2533 | * sizeof(u64), GFP_KERNEL); |
2536 | if (!dd->cspec->cntrs) | ||
2537 | qib_dev_err(dd, "Failed allocation for counters\n"); | ||
2538 | 2534 | ||
2539 | for (i = 0, s = (char *)portcntr6120names; s; i++) | 2535 | for (i = 0, s = (char *)portcntr6120names; s; i++) |
2540 | s = strchr(s + 1, '\n'); | 2536 | s = strchr(s + 1, '\n'); |
@@ -2542,8 +2538,6 @@ static void init_6120_cntrnames(struct qib_devdata *dd) | |||
2542 | dd->cspec->portcntrnamelen = sizeof(portcntr6120names) - 1; | 2538 | dd->cspec->portcntrnamelen = sizeof(portcntr6120names) - 1; |
2543 | dd->cspec->portcntrs = kmalloc(dd->cspec->nportcntrs | 2539 | dd->cspec->portcntrs = kmalloc(dd->cspec->nportcntrs |
2544 | * sizeof(u64), GFP_KERNEL); | 2540 | * sizeof(u64), GFP_KERNEL); |
2545 | if (!dd->cspec->portcntrs) | ||
2546 | qib_dev_err(dd, "Failed allocation for portcounters\n"); | ||
2547 | } | 2541 | } |
2548 | 2542 | ||
2549 | static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, | 2543 | static u32 qib_read_6120cntrs(struct qib_devdata *dd, loff_t pos, char **namep, |
diff --git a/drivers/infiniband/hw/qib/qib_iba7220.c b/drivers/infiniband/hw/qib/qib_iba7220.c index 00b2af211157..e55e31a69195 100644 --- a/drivers/infiniband/hw/qib/qib_iba7220.c +++ b/drivers/infiniband/hw/qib/qib_iba7220.c | |||
@@ -2070,9 +2070,7 @@ static void qib_7220_boardname(struct qib_devdata *dd) | |||
2070 | 2070 | ||
2071 | namelen = strlen(n) + 1; | 2071 | namelen = strlen(n) + 1; |
2072 | dd->boardname = kmalloc(namelen, GFP_KERNEL); | 2072 | dd->boardname = kmalloc(namelen, GFP_KERNEL); |
2073 | if (!dd->boardname) | 2073 | if (dd->boardname) |
2074 | qib_dev_err(dd, "Failed allocation for board name: %s\n", n); | ||
2075 | else | ||
2076 | snprintf(dd->boardname, namelen, "%s", n); | 2074 | snprintf(dd->boardname, namelen, "%s", n); |
2077 | 2075 | ||
2078 | if (dd->majrev != 5 || !dd->minrev || dd->minrev > 2) | 2076 | if (dd->majrev != 5 || !dd->minrev || dd->minrev > 2) |
@@ -3179,8 +3177,6 @@ static void init_7220_cntrnames(struct qib_devdata *dd) | |||
3179 | dd->cspec->cntrnamelen = 1 + s - cntr7220names; | 3177 | dd->cspec->cntrnamelen = 1 + s - cntr7220names; |
3180 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs | 3178 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs |
3181 | * sizeof(u64), GFP_KERNEL); | 3179 | * sizeof(u64), GFP_KERNEL); |
3182 | if (!dd->cspec->cntrs) | ||
3183 | qib_dev_err(dd, "Failed allocation for counters\n"); | ||
3184 | 3180 | ||
3185 | for (i = 0, s = (char *)portcntr7220names; s; i++) | 3181 | for (i = 0, s = (char *)portcntr7220names; s; i++) |
3186 | s = strchr(s + 1, '\n'); | 3182 | s = strchr(s + 1, '\n'); |
@@ -3188,8 +3184,6 @@ static void init_7220_cntrnames(struct qib_devdata *dd) | |||
3188 | dd->cspec->portcntrnamelen = sizeof(portcntr7220names) - 1; | 3184 | dd->cspec->portcntrnamelen = sizeof(portcntr7220names) - 1; |
3189 | dd->cspec->portcntrs = kmalloc(dd->cspec->nportcntrs | 3185 | dd->cspec->portcntrs = kmalloc(dd->cspec->nportcntrs |
3190 | * sizeof(u64), GFP_KERNEL); | 3186 | * sizeof(u64), GFP_KERNEL); |
3191 | if (!dd->cspec->portcntrs) | ||
3192 | qib_dev_err(dd, "Failed allocation for portcounters\n"); | ||
3193 | } | 3187 | } |
3194 | 3188 | ||
3195 | static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, | 3189 | static u32 qib_read_7220cntrs(struct qib_devdata *dd, loff_t pos, char **namep, |
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c index ded27172320e..c4a3616062f1 100644 --- a/drivers/infiniband/hw/qib/qib_iba7322.c +++ b/drivers/infiniband/hw/qib/qib_iba7322.c | |||
@@ -3627,9 +3627,7 @@ static unsigned qib_7322_boardname(struct qib_devdata *dd) | |||
3627 | 3627 | ||
3628 | namelen = strlen(n) + 1; | 3628 | namelen = strlen(n) + 1; |
3629 | dd->boardname = kmalloc(namelen, GFP_KERNEL); | 3629 | dd->boardname = kmalloc(namelen, GFP_KERNEL); |
3630 | if (!dd->boardname) | 3630 | if (dd->boardname) |
3631 | qib_dev_err(dd, "Failed allocation for board name: %s\n", n); | ||
3632 | else | ||
3633 | snprintf(dd->boardname, namelen, "%s", n); | 3631 | snprintf(dd->boardname, namelen, "%s", n); |
3634 | 3632 | ||
3635 | snprintf(dd->boardversion, sizeof(dd->boardversion), | 3633 | snprintf(dd->boardversion, sizeof(dd->boardversion), |
@@ -3656,7 +3654,7 @@ static unsigned qib_7322_boardname(struct qib_devdata *dd) | |||
3656 | static int qib_do_7322_reset(struct qib_devdata *dd) | 3654 | static int qib_do_7322_reset(struct qib_devdata *dd) |
3657 | { | 3655 | { |
3658 | u64 val; | 3656 | u64 val; |
3659 | u64 *msix_vecsave; | 3657 | u64 *msix_vecsave = NULL; |
3660 | int i, msix_entries, ret = 1; | 3658 | int i, msix_entries, ret = 1; |
3661 | u16 cmdval; | 3659 | u16 cmdval; |
3662 | u8 int_line, clinesz; | 3660 | u8 int_line, clinesz; |
@@ -3677,10 +3675,7 @@ static int qib_do_7322_reset(struct qib_devdata *dd) | |||
3677 | /* can be up to 512 bytes, too big for stack */ | 3675 | /* can be up to 512 bytes, too big for stack */ |
3678 | msix_vecsave = kmalloc(2 * dd->cspec->num_msix_entries * | 3676 | msix_vecsave = kmalloc(2 * dd->cspec->num_msix_entries * |
3679 | sizeof(u64), GFP_KERNEL); | 3677 | sizeof(u64), GFP_KERNEL); |
3680 | if (!msix_vecsave) | 3678 | } |
3681 | qib_dev_err(dd, "No mem to save MSIx data\n"); | ||
3682 | } else | ||
3683 | msix_vecsave = NULL; | ||
3684 | 3679 | ||
3685 | /* | 3680 | /* |
3686 | * Core PCI (as of 2.6.18) doesn't save or rewrite the full vector | 3681 | * Core PCI (as of 2.6.18) doesn't save or rewrite the full vector |
@@ -5043,8 +5038,6 @@ static void init_7322_cntrnames(struct qib_devdata *dd) | |||
5043 | dd->cspec->cntrnamelen = 1 + s - cntr7322names; | 5038 | dd->cspec->cntrnamelen = 1 + s - cntr7322names; |
5044 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs | 5039 | dd->cspec->cntrs = kmalloc(dd->cspec->ncntrs |
5045 | * sizeof(u64), GFP_KERNEL); | 5040 | * sizeof(u64), GFP_KERNEL); |
5046 | if (!dd->cspec->cntrs) | ||
5047 | qib_dev_err(dd, "Failed allocation for counters\n"); | ||
5048 | 5041 | ||
5049 | for (i = 0, s = (char *)portcntr7322names; s; i++) | 5042 | for (i = 0, s = (char *)portcntr7322names; s; i++) |
5050 | s = strchr(s + 1, '\n'); | 5043 | s = strchr(s + 1, '\n'); |
@@ -5053,9 +5046,6 @@ static void init_7322_cntrnames(struct qib_devdata *dd) | |||
5053 | for (i = 0; i < dd->num_pports; ++i) { | 5046 | for (i = 0; i < dd->num_pports; ++i) { |
5054 | dd->pport[i].cpspec->portcntrs = kmalloc(dd->cspec->nportcntrs | 5047 | dd->pport[i].cpspec->portcntrs = kmalloc(dd->cspec->nportcntrs |
5055 | * sizeof(u64), GFP_KERNEL); | 5048 | * sizeof(u64), GFP_KERNEL); |
5056 | if (!dd->pport[i].cpspec->portcntrs) | ||
5057 | qib_dev_err(dd, | ||
5058 | "Failed allocation for portcounters\n"); | ||
5059 | } | 5049 | } |
5060 | } | 5050 | } |
5061 | 5051 | ||
@@ -6461,7 +6451,6 @@ static int qib_init_7322_variables(struct qib_devdata *dd) | |||
6461 | sizeof(*dd->cspec->sendibchk), GFP_KERNEL); | 6451 | sizeof(*dd->cspec->sendibchk), GFP_KERNEL); |
6462 | if (!dd->cspec->sendchkenable || !dd->cspec->sendgrhchk || | 6452 | if (!dd->cspec->sendchkenable || !dd->cspec->sendgrhchk || |
6463 | !dd->cspec->sendibchk) { | 6453 | !dd->cspec->sendibchk) { |
6464 | qib_dev_err(dd, "Failed allocation for hdrchk bitmaps\n"); | ||
6465 | ret = -ENOMEM; | 6454 | ret = -ENOMEM; |
6466 | goto bail; | 6455 | goto bail; |
6467 | } | 6456 | } |
@@ -7338,10 +7327,9 @@ struct qib_devdata *qib_init_iba7322_funcs(struct pci_dev *pdev, | |||
7338 | tabsize = actual_cnt; | 7327 | tabsize = actual_cnt; |
7339 | dd->cspec->msix_entries = kzalloc(tabsize * | 7328 | dd->cspec->msix_entries = kzalloc(tabsize * |
7340 | sizeof(struct qib_msix_entry), GFP_KERNEL); | 7329 | sizeof(struct qib_msix_entry), GFP_KERNEL); |
7341 | if (!dd->cspec->msix_entries) { | 7330 | if (!dd->cspec->msix_entries) |
7342 | qib_dev_err(dd, "No memory for MSIx table\n"); | ||
7343 | tabsize = 0; | 7331 | tabsize = 0; |
7344 | } | 7332 | |
7345 | for (i = 0; i < tabsize; i++) | 7333 | for (i = 0; i < tabsize; i++) |
7346 | dd->cspec->msix_entries[i].msix.entry = i; | 7334 | dd->cspec->msix_entries[i].msix.entry = i; |
7347 | 7335 | ||
diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 1730aa839a47..b50240b1d5a4 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c | |||
@@ -133,11 +133,8 @@ int qib_create_ctxts(struct qib_devdata *dd) | |||
133 | * cleanup iterates across all possible ctxts. | 133 | * cleanup iterates across all possible ctxts. |
134 | */ | 134 | */ |
135 | dd->rcd = kcalloc(dd->ctxtcnt, sizeof(*dd->rcd), GFP_KERNEL); | 135 | dd->rcd = kcalloc(dd->ctxtcnt, sizeof(*dd->rcd), GFP_KERNEL); |
136 | if (!dd->rcd) { | 136 | if (!dd->rcd) |
137 | qib_dev_err(dd, | ||
138 | "Unable to allocate ctxtdata array, failing\n"); | ||
139 | return -ENOMEM; | 137 | return -ENOMEM; |
140 | } | ||
141 | 138 | ||
142 | /* create (one or more) kctxt */ | 139 | /* create (one or more) kctxt */ |
143 | for (i = 0; i < dd->first_user_ctxt; ++i) { | 140 | for (i = 0; i < dd->first_user_ctxt; ++i) { |
@@ -265,39 +262,23 @@ int qib_init_pportdata(struct qib_pportdata *ppd, struct qib_devdata *dd, | |||
265 | size = IB_CC_TABLE_CAP_DEFAULT * sizeof(struct ib_cc_table_entry) | 262 | size = IB_CC_TABLE_CAP_DEFAULT * sizeof(struct ib_cc_table_entry) |
266 | * IB_CCT_ENTRIES; | 263 | * IB_CCT_ENTRIES; |
267 | ppd->ccti_entries = kzalloc(size, GFP_KERNEL); | 264 | ppd->ccti_entries = kzalloc(size, GFP_KERNEL); |
268 | if (!ppd->ccti_entries) { | 265 | if (!ppd->ccti_entries) |
269 | qib_dev_err(dd, | ||
270 | "failed to allocate congestion control table for port %d!\n", | ||
271 | port); | ||
272 | goto bail; | 266 | goto bail; |
273 | } | ||
274 | 267 | ||
275 | size = IB_CC_CCS_ENTRIES * sizeof(struct ib_cc_congestion_entry); | 268 | size = IB_CC_CCS_ENTRIES * sizeof(struct ib_cc_congestion_entry); |
276 | ppd->congestion_entries = kzalloc(size, GFP_KERNEL); | 269 | ppd->congestion_entries = kzalloc(size, GFP_KERNEL); |
277 | if (!ppd->congestion_entries) { | 270 | if (!ppd->congestion_entries) |
278 | qib_dev_err(dd, | ||
279 | "failed to allocate congestion setting list for port %d!\n", | ||
280 | port); | ||
281 | goto bail_1; | 271 | goto bail_1; |
282 | } | ||
283 | 272 | ||
284 | size = sizeof(struct cc_table_shadow); | 273 | size = sizeof(struct cc_table_shadow); |
285 | ppd->ccti_entries_shadow = kzalloc(size, GFP_KERNEL); | 274 | ppd->ccti_entries_shadow = kzalloc(size, GFP_KERNEL); |
286 | if (!ppd->ccti_entries_shadow) { | 275 | if (!ppd->ccti_entries_shadow) |
287 | qib_dev_err(dd, | ||
288 | "failed to allocate shadow ccti list for port %d!\n", | ||
289 | port); | ||
290 | goto bail_2; | 276 | goto bail_2; |
291 | } | ||
292 | 277 | ||
293 | size = sizeof(struct ib_cc_congestion_setting_attr); | 278 | size = sizeof(struct ib_cc_congestion_setting_attr); |
294 | ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); | 279 | ppd->congestion_entries_shadow = kzalloc(size, GFP_KERNEL); |
295 | if (!ppd->congestion_entries_shadow) { | 280 | if (!ppd->congestion_entries_shadow) |
296 | qib_dev_err(dd, | ||
297 | "failed to allocate shadow congestion setting list for port %d!\n", | ||
298 | port); | ||
299 | goto bail_3; | 281 | goto bail_3; |
300 | } | ||
301 | 282 | ||
302 | return 0; | 283 | return 0; |
303 | 284 | ||
@@ -391,18 +372,12 @@ static void init_shadow_tids(struct qib_devdata *dd) | |||
391 | dma_addr_t *addrs; | 372 | dma_addr_t *addrs; |
392 | 373 | ||
393 | pages = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(struct page *)); | 374 | pages = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(struct page *)); |
394 | if (!pages) { | 375 | if (!pages) |
395 | qib_dev_err(dd, | ||
396 | "failed to allocate shadow page * array, no expected sends!\n"); | ||
397 | goto bail; | 376 | goto bail; |
398 | } | ||
399 | 377 | ||
400 | addrs = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(dma_addr_t)); | 378 | addrs = vzalloc(dd->cfgctxts * dd->rcvtidcnt * sizeof(dma_addr_t)); |
401 | if (!addrs) { | 379 | if (!addrs) |
402 | qib_dev_err(dd, | ||
403 | "failed to allocate shadow dma handle array, no expected sends!\n"); | ||
404 | goto bail_free; | 380 | goto bail_free; |
405 | } | ||
406 | 381 | ||
407 | dd->pageshadow = pages; | 382 | dd->pageshadow = pages; |
408 | dd->physshadow = addrs; | 383 | dd->physshadow = addrs; |
@@ -1026,11 +1001,8 @@ static void qib_verify_pioperf(struct qib_devdata *dd) | |||
1026 | cnt = 1024; | 1001 | cnt = 1024; |
1027 | 1002 | ||
1028 | addr = vmalloc(cnt); | 1003 | addr = vmalloc(cnt); |
1029 | if (!addr) { | 1004 | if (!addr) |
1030 | qib_devinfo(dd->pcidev, | ||
1031 | "Couldn't get memory for checking PIO perf, skipping\n"); | ||
1032 | goto done; | 1005 | goto done; |
1033 | } | ||
1034 | 1006 | ||
1035 | preempt_disable(); /* we want reasonably accurate elapsed time */ | 1007 | preempt_disable(); /* we want reasonably accurate elapsed time */ |
1036 | msecs = 1 + jiffies_to_msecs(jiffies); | 1008 | msecs = 1 + jiffies_to_msecs(jiffies); |
@@ -1172,9 +1144,6 @@ struct qib_devdata *qib_alloc_devdata(struct pci_dev *pdev, size_t extra) | |||
1172 | sizeof(long), GFP_KERNEL); | 1144 | sizeof(long), GFP_KERNEL); |
1173 | if (qib_cpulist) | 1145 | if (qib_cpulist) |
1174 | qib_cpulist_count = count; | 1146 | qib_cpulist_count = count; |
1175 | else | ||
1176 | qib_early_err(&pdev->dev, | ||
1177 | "Could not alloc cpulist info, cpu affinity might be wrong\n"); | ||
1178 | } | 1147 | } |
1179 | #ifdef CONFIG_DEBUG_FS | 1148 | #ifdef CONFIG_DEBUG_FS |
1180 | qib_dbg_ibdev_init(&dd->verbs_dev); | 1149 | qib_dbg_ibdev_init(&dd->verbs_dev); |