[ofa-general] [PATCH] bug in ibv_rc_pingpong.c and ibv_uc_pingpong.c in ofed_1_4/libibverbs.git
Robert Pearson
rpearson at systemfabricworks.com
Mon Sep 14 10:39:20 PDT 2009
Here you go.
Fix missing break statements in rc_pingpong.c and uc_pingpong.c
Signed-off-by: Bob Pearson <rpearson at systemfabricworks.com>
---
diff --git a/examples/rc_pingpong.c b/examples/rc_pingpong.c
index 26fa45c..d4115e4 100644
--- a/examples/rc_pingpong.c
+++ b/examples/rc_pingpong.c
@@ -558,6 +558,7 @@ int main(int argc, char *argv[])
usage(argv[0]);
return 1;
}
+ break;
case 'r':
rx_depth = strtol(optarg, NULL, 0);
diff --git a/examples/uc_pingpong.c b/examples/uc_pingpong.c
index c09c8c1..404b059 100644
--- a/examples/uc_pingpong.c
+++ b/examples/uc_pingpong.c
@@ -546,6 +546,7 @@ int main(int argc, char *argv[])
usage(argv[0]);
return 1;
}
+ break;
case 'r':
rx_depth = strtol(optarg, NULL, 0);
More information about the general
mailing list