From: Roland Dreier Date: Fri, 16 May 2008 21:58:40 +0000 (-0700) Subject: RDMA/cxgb3: Fix uninitialized variable warning in iwch_post_send() X-Git-Tag: v2.6.26-rc4~58^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21609ae3efa42f4118ce741f7e55d66d716cb17c;p=pandora-kernel.git RDMA/cxgb3: Fix uninitialized variable warning in iwch_post_send() drivers/infiniband/hw/cxgb3/iwch_qp.c: In function 'iwch_post_send': drivers/infiniband/hw/cxgb3/iwch_qp.c:232: warning: 't3_wr_flit_cnt' may be used uninitialized in this function This is what akpm describes as "the dopey gcc-doesn't-know-that-foo(&var)-writes-to-var problem." Signed-off-by: Roland Dreier Acked-by: Steve Wise --- Reading git-diff-tree failed