projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7150bf8
)
[IB] cm: Add missing break in switch
author
Roland Dreier
<rolandd@cisco.com>
Thu, 20 Oct 2005 19:29:36 +0000
(12:29 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 20 Oct 2005 19:29:36 +0000
(12:29 -0700)
Add missing "break" in switch statement. Without the break, the
CM ended up always falling through and setting every connection
request to use RC transport, which meant that UC connections
didn't work.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm_msgs.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/cm_msgs.h
b/drivers/infiniband/core/cm_msgs.h
index 813ab70bf6d5ebd5642bde4d499ce0cb911f81be..4d3aee90c249783bee765b3286b944e6c3abc426 100644
(file)
--- a/
drivers/infiniband/core/cm_msgs.h
+++ b/
drivers/infiniband/core/cm_msgs.h
@@
-186,6
+186,7
@@
static inline void cm_req_set_qp_type(struct cm_req_msg *req_msg,
req_msg->offset40 = cpu_to_be32((be32_to_cpu(
req_msg->offset40) &
0xFFFFFFF9) | 0x2);
+ break;
default:
req_msg->offset40 = cpu_to_be32(be32_to_cpu(
req_msg->offset40) &