Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61432
b: refs/heads/master
c: 6d7d080
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jul 18, 2007
1 parent f1b5e0d commit 2b58009
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 454a01e7f486279b0bf8979d94203ab7a503e053
refs/heads/master: 6d7d080e9f7cd535a8821efd3835c5cfa5223ab6
16 changes: 14 additions & 2 deletions trunk/drivers/infiniband/hw/mthca/mthca_qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,13 @@ int mthca_tavor_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
int i;
int size;
int size0 = 0;
u32 f0 = 0;
/*
* f0 is only used if nreq != 0, and f0 will be initialized
* the first time through the main loop, since size0 == 0 the
* first time through. So nreq cannot become non-zero without
* initializing f0, and f0 is in fact never used uninitialized.
*/
u32 uninitialized_var(f0);
int ind;
u8 op0 = 0;

Expand Down Expand Up @@ -1946,7 +1952,13 @@ int mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
int i;
int size;
int size0 = 0;
u32 f0 = 0;
/*
* f0 is only used if nreq != 0, and f0 will be initialized
* the first time through the main loop, since size0 == 0 the
* first time through. So nreq cannot become non-zero without
* initializing f0, and f0 is in fact never used uninitialized.
*/
u32 uninitialized_var(f0);
int ind;
u8 op0 = 0;

Expand Down

0 comments on commit 2b58009

Please sign in to comment.