commit | 21bfd4706268c85c9d17ca2fd48de3b19c9d40db | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jun 18 10:27:38 2013 +0300 |
committer | Roland Dreier <roland@purestorage.com> | Thu Jun 20 04:51:52 2013 -0700 |
tree | 5627c83e66849ee3107de6ccf42502aa2b669a20 | |
parent | fedaf4ffc224a194e2d13a3ec2abe5df0bc94258 [diff] |
RDMA/cxgb3: Timeout condition is never true This is a static checker fix. "count" is unsigned so it's never -1. Since "count" is 16 bits and the addition operation is implicitly casted to int then there is no wrapping here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>