Skip to contentSkip to conversation

Fix missing $IBPATH in ibdatacounts

PATCH/infiniband-diags Applied Jason Gunthorpe 2 participants 2 messages Mar 22, 2011 – Mar 25, 2011 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Otherwise it blows up if smpquery is not in the search path.

---
 scripts/ibdatacounts.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/ibdatacounts.in +1 -1
index a9e94c0..b64547b 100644
@@ -106,7 +106,7 @@ else
 	fi
 fi
 
-nodename=`smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
+nodename=`$IBPATH/smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
 
 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
 rv=$?
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20110322212559.GA4954-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org

Applied
#2 lore raw

Thanks applied.
Ira

Quoted 27 lines · On Tue, 22 Mar 2011 14:25:59 -0700 Jason Gunthorpe…

Otherwise it blows up if smpquery is not in the search path.

---
 scripts/ibdatacounts.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/ibdatacounts.in +1 -1
index a9e94c0..b64547b 100644
@@ -106,7 +106,7 @@ else
 	fi
 fi
 
-nodename=`smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
+nodename=`$IBPATH/smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
 
 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
 rv=$?
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 9 lines
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html