* [PATCH][TRIVIAL] infiniband-diags/: Cosmetic changes, mostly typos
@ 2009-09-15 11:39 Keshetti Mahesh
2009-09-19 17:58 ` [ofa-general] " Sasha Khapyorsky
0 siblings, 1 reply; 2+ messages in thread
From: Keshetti Mahesh @ 2009-09-15 11:39 UTC (permalink / raw)
To: OFED mailing list, OFED mailing list; +Cc: Sasha Khapyorsky
Cosmetic changes
Signed-off-by: Keshetti Mahesh < keshetti.mahesh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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] <lid|guid> <port>
--
1.6.4.2
--
Keshetti Mahesh
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread* [ofa-general] Re: [PATCH][TRIVIAL] infiniband-diags/: Cosmetic changes, mostly typos
2009-09-15 11:39 [PATCH][TRIVIAL] infiniband-diags/: Cosmetic changes, mostly typos Keshetti Mahesh
@ 2009-09-19 17:58 ` Sasha Khapyorsky
0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2009-09-19 17:58 UTC (permalink / raw)
To: Keshetti Mahesh; +Cc: OFED mailing list, OFED mailing list
On 17:09 Tue 15 Sep , Keshetti Mahesh wrote:
> Cosmetic changes
>
> Signed-off-by: Keshetti Mahesh < keshetti.mahesh@gmail.com>
The patch is malformed (broken long lines and mangled whitespaces).
Applied by hands. Thanks.
Sasha
> ---
>
> 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] <lid|guid> <port>
> --
> 1.6.4.2
>
> --
> Keshetti Mahesh
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-19 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 11:39 [PATCH][TRIVIAL] infiniband-diags/: Cosmetic changes, mostly typos Keshetti Mahesh
2009-09-19 17:58 ` [ofa-general] " Sasha Khapyorsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox