diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-06-18 09:27:38 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-06-20 13:51:52 +0200 |
commit | 21bfd4706268c85c9d17ca2fd48de3b19c9d40db (patch) | |
tree | 5627c83e66849ee3107de6ccf42502aa2b669a20 /drivers/usb/class | |
parent | ndisc: Convert use of typedef ctl_table to struct ctl_table (diff) | |
download | linux-21bfd4706268c85c9d17ca2fd48de3b19c9d40db.tar.xz linux-21bfd4706268c85c9d17ca2fd48de3b19c9d40db.zip |
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>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions