Message ID | e2975299-b1e8-25a3-c263-6a4cac991bc6@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Fri, 2017-12-08 at 14:27 -0500, Hal Rosenstock wrote: > Change opensm to SM > > Signed-off-by: Hal Rosenstock <hal@mellanox.com> > --- > srp_daemon/srp_daemon.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c > index 2465ccd..cec36db 100644 > --- a/srp_daemon/srp_daemon.c > +++ b/srp_daemon/srp_daemon.c > @@ -2212,7 +2212,7 @@ catas_start: > if (res->ud_res->ah) { > if (register_to_traps(res, 1)) > pr_err("Fail to register to traps, maybe there " > - "is no opensm running on fabric or IB port is down\n"); > + "is no SM running on fabric or IB port is down\n"); > else > subscribed = 1; > } > @@ -2346,7 +2346,7 @@ static int recalc(struct resources *res) > > umad_res->sm_lid = strtol(val, NULL, 0); > if (umad_res->sm_lid == 0) { > - pr_err("SM LID is 0, maybe no opensm is running\n"); > + pr_err("SM LID is 0, maybe no SM is running\n"); > return -1; > } Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
diff --git a/srp_daemon/srp_daemon.c b/srp_daemon/srp_daemon.c index 2465ccd..cec36db 100644 --- a/srp_daemon/srp_daemon.c +++ b/srp_daemon/srp_daemon.c @@ -2212,7 +2212,7 @@ catas_start: if (res->ud_res->ah) { if (register_to_traps(res, 1)) pr_err("Fail to register to traps, maybe there " - "is no opensm running on fabric or IB port is down\n"); + "is no SM running on fabric or IB port is down\n"); else subscribed = 1; } @@ -2346,7 +2346,7 @@ static int recalc(struct resources *res) umad_res->sm_lid = strtol(val, NULL, 0); if (umad_res->sm_lid == 0) { - pr_err("SM LID is 0, maybe no opensm is running\n"); + pr_err("SM LID is 0, maybe no SM is running\n"); return -1; }
Change opensm to SM Signed-off-by: Hal Rosenstock <hal@mellanox.com> --- srp_daemon/srp_daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)