Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f794483025bc1e9e8e3321089a7f29ad3cc448f
Commit:     1f794483025bc1e9e8e3321089a7f29ad3cc448f
Parent:     d7dc3ccbe4dd1d37950da0138079e61d5be06ca9
Author:     Anton Blanchard <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 29 11:05:35 2007 -0500
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 19:59:06 2007 -0700

    IB/ehca: Make output clearer by removing some debug messages
    
    ehca spits out a lot of debugging information. I had to look closely to
    see the "Port 1 is not active" message within all the debug:
    
    eHCA Infiniband Device Driver (Rel.: SVNEHCA_0022)
    eHCA scaling code enabled
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_define_sqp Port 1 is not 
active.
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_create_qp ehca_define_sqp() 
failed rc=ffffffffffffffff
    ib_mad: Couldn't create ib_mad QP1
    ib_mad: Couldn't open ehca0 port 1
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_alloc_fmr unsupported 
fmr_attr->page_shift=9
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_alloc_fmr 
rc=ffffffffffffffea pd=c000000b4b5b2420 mr_access_flags=7 
fmr_attr=c0000005afd37394
    fmr_create failed for FMR 0
    
    Remove a few debug statements so that things are clearer:
    
    eHCA Infiniband Device Driver (Rel.: SVNEHCA_0022)
    eHCA scaling code enabled
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_define_sqp Port 1 is not 
active.
    ib_mad: Couldn't create ib_mad QP1
    ib_mad: Couldn't open ehca0 port 1
    ehca D.001.DQDXYCB-P1-C9: PU0006 EHCA_ERR:ehca_alloc_fmr unsupported 
fmr_attr->page_shift=9
    fmr_create failed for FMR 0
    
    Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]>
    Acked-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/hw/ehca/ehca_mrmw.c |    4 ----
 drivers/infiniband/hw/ehca/ehca_qp.c   |    2 --
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_mrmw.c 
b/drivers/infiniband/hw/ehca/ehca_mrmw.c
index d97eda3..dc4c840 100644
--- a/drivers/infiniband/hw/ehca/ehca_mrmw.c
+++ b/drivers/infiniband/hw/ehca/ehca_mrmw.c
@@ -846,10 +846,6 @@ struct ib_fmr *ehca_alloc_fmr(struct ib_pd *pd,
 alloc_fmr_exit1:
        ehca_mr_delete(e_fmr);
 alloc_fmr_exit0:
-       if (IS_ERR(ib_fmr))
-               ehca_err(pd->device, "rc=%lx pd=%p mr_access_flags=%x "
-                        "fmr_attr=%p", PTR_ERR(ib_fmr), pd,
-                        mr_access_flags, fmr_attr);
        return ib_fmr;
 } /* end ehca_alloc_fmr() */
 
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c 
b/drivers/infiniband/hw/ehca/ehca_qp.c
index 84d435a..88f0745 100644
--- a/drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/drivers/infiniband/hw/ehca/ehca_qp.c
@@ -714,8 +714,6 @@ static struct ehca_qp *internal_create_qp(
        if (qp_type == IB_QPT_GSI) {
                h_ret = ehca_define_sqp(shca, my_qp, init_attr);
                if (h_ret != H_SUCCESS) {
-                       ehca_err(pd->device, "ehca_define_sqp() failed rc=%lx",
-                                h_ret);
                        ret = ehca2ib_return_code(h_ret);
                        goto create_qp_exit4;
                }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to