From patchwork Tue Sep 15 11:39:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keshetti Mahesh X-Patchwork-Id: 47659 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8FBdoN3022512 for ; Tue, 15 Sep 2009 11:39:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752950AbZIOLjq (ORCPT ); Tue, 15 Sep 2009 07:39:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753188AbZIOLjq (ORCPT ); Tue, 15 Sep 2009 07:39:46 -0400 Received: from mail-px0-f189.google.com ([209.85.216.189]:50472 "EHLO mail-px0-f189.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbZIOLjq (ORCPT ); Tue, 15 Sep 2009 07:39:46 -0400 Received: by pxi27 with SMTP id 27so3071808pxi.15 for ; Tue, 15 Sep 2009 04:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:cc:content-type; bh=Krplbonlrmz/G52ulO6WBfC1s5H5h65VwsUf8TERpYU=; b=FvMJOFuLhZatVEKv36XQCJ1SKFDKaqkZsTMuL/X2+/jDOiLmkIqOtS1r6Bv7VPYS1/ 14FkJo32C2d7s+8tCeSy5JjLIk1BAbi75Vm80AbXmQCJUeU9rG6CxM0f84HddJIEu8a7 EIFl0GtZjXWtR8dAXESW7fgzzsE8xG3RHpb+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; b=PfykcKumVMKUNxW6PwcYT445LxGiX8B6nV1jznPcfBcTItmteAHDrAmbDe9fb/Cqkj iWhleHHnIyjaVJQPwiVeuUVmFZv8mNXy087nhchPT3nZehfcgQINNzgcav2LL3hSd5tB sY0I9rTE/5ZqcI//TqRvK1Jy89EzBORF72od0= MIME-Version: 1.0 Received: by 10.140.142.11 with SMTP id p11mr989357rvd.7.1253014789104; Tue, 15 Sep 2009 04:39:49 -0700 (PDT) From: Keshetti Mahesh Date: Tue, 15 Sep 2009 17:09:29 +0530 Message-ID: <829ded920909150439h585f05e3hf0174713ecd2faf4@mail.gmail.com> Subject: [PATCH][TRIVIAL] infiniband-diags/: Cosmetic changes, mostly typos To: OFED mailing list , OFED mailing list Cc: Sasha Khapyorsky Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Cosmetic changes Signed-off-by: Keshetti Mahesh < keshetti.mahesh@gmail.com> --- 1.6.4.2 diff --git a/infiniband-diags/scripts/ibcheckwidth.in b/infiniband-diags/scripts/ibcheckwidth.in index 6b723c5..cbb154c 100644 --- a/infiniband-diags/scripts/ibcheckwidth.in +++ b/infiniband-diags/scripts/ibcheckwidth.in @@ -77,7 +77,7 @@ BEGIN { function check_node(lid) { nodechecked=1 - if (system("'$IBPATH'/ibchecknode'"$ca_info"' '$gflags' '$verbose' " lid)) { + if (system("'$IBPATH'/ibchecknode '"$ca_info"' '$gflags' '$verbose' " lid)) { ne++ badnode=1 return @@ -113,7 +113,7 @@ function check_node(lid) } sub("\\(.*\\)", "", port) gsub("[\\[\\]]", "", port) - if (system("'$IBPATH'/ibcheckportwidth'"$ca_info"' '$gflags' '$verbose' " lid " " port)) { + if (system("'$IBPATH'/ibcheckportwidth '"$ca_info"' '$gflags' '$verbose' " lid " " port)) { if (!'$v' && oldlid != lid) { print "# Checked " ntype ": nodeguid 0x" nodeguid " with failure" oldlid = lid diff --git a/infiniband-diags/src/ibportstate.c b/infiniband-diags/src/ibportstate.c index 76e74f7..018bc9a 100644 --- a/infiniband-diags/src/ibportstate.c +++ b/infiniband-diags/src/ibportstate.c @@ -349,7 +349,7 @@ int main(int argc, char **argv) get_port_info(&peerportid, data, peerlocalportnum, port_op); if (err < 0) - IBERROR("smp query peer portinfofailed"); + IBERROR("smp query peer portinfo failed"); mad_decode_field(data, IB_PORT_LINK_WIDTH_ENABLED_F, &peerlwe); diff --git a/infiniband-diags/man/ibcheckportwidth.8 b/infiniband-diags/man/ibcheckportwidth.8 index 85c06fc..c368467 100644 --- a/infiniband-diags/man/ibcheckportwidth.8 +++ b/infiniband-diags/man/ibcheckportwidth.8 @@ -4,7 +4,7 @@ ibcheckportwidth \- validate IB port for 1x link width .SH SYNOPSIS -.B ibcheckport +.B ibcheckportwidth [\-h] [\-v] [\-N | \-nocolor] [\-G] [\-C ca_name] [\-P ca_port] [\-t(imeout) timeout_ms] --