Commit 3ed9f0ab authored by Roland Dreier's avatar Roland Dreier Committed by Linus Torvalds

[PATCH] IB/mthca: add missing break

Add missing break statements in switch in mthca_profile.c (pointed out
by Michael Tsirkin).
Signed-off-by: default avatarRoland Dreier <roland@topspin.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8f52a931
...@@ -241,10 +241,12 @@ u64 mthca_make_profile(struct mthca_dev *dev, ...@@ -241,10 +241,12 @@ u64 mthca_make_profile(struct mthca_dev *dev,
case MTHCA_RES_UDAV: case MTHCA_RES_UDAV:
dev->av_table.ddr_av_base = profile[i].start; dev->av_table.ddr_av_base = profile[i].start;
dev->av_table.num_ddr_avs = profile[i].num; dev->av_table.num_ddr_avs = profile[i].num;
break;
case MTHCA_RES_UARC: case MTHCA_RES_UARC:
init_hca->uarc_base = profile[i].start; init_hca->uarc_base = profile[i].start;
init_hca->log_uarc_sz = ffs(request->uarc_size) - 13; init_hca->log_uarc_sz = ffs(request->uarc_size) - 13;
init_hca->log_uar_sz = ffs(request->num_uar) - 1; init_hca->log_uar_sz = ffs(request->num_uar) - 1;
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment