diff options
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_main.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index a3409fdb307c..7a7dab890f6d 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c | |||
@@ -579,12 +579,12 @@ static ssize_t ehca_show_##name(struct device *dev, \ | |||
579 | \ | 579 | \ |
580 | rblock = ehca_alloc_fw_ctrlblock(GFP_KERNEL); \ | 580 | rblock = ehca_alloc_fw_ctrlblock(GFP_KERNEL); \ |
581 | if (!rblock) { \ | 581 | if (!rblock) { \ |
582 | dev_err(dev, "Can't allocate rblock memory."); \ | 582 | dev_err(dev, "Can't allocate rblock memory.\n"); \ |
583 | return 0; \ | 583 | return 0; \ |
584 | } \ | 584 | } \ |
585 | \ | 585 | \ |
586 | if (hipz_h_query_hca(shca->ipz_hca_handle, rblock) != H_SUCCESS) { \ | 586 | if (hipz_h_query_hca(shca->ipz_hca_handle, rblock) != H_SUCCESS) { \ |
587 | dev_err(dev, "Can't query device properties"); \ | 587 | dev_err(dev, "Can't query device properties\n"); \ |
588 | ehca_free_fw_ctrlblock(rblock); \ | 588 | ehca_free_fw_ctrlblock(rblock); \ |
589 | return 0; \ | 589 | return 0; \ |
590 | } \ | 590 | } \ |