summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/hctosys.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-06-18 09:27:38 +0200
committerRoland Dreier <roland@purestorage.com>2013-06-20 13:51:52 +0200
commit21bfd4706268c85c9d17ca2fd48de3b19c9d40db (patch)
tree5627c83e66849ee3107de6ccf42502aa2b669a20 /drivers/rtc/hctosys.c
parentndisc: Convert use of typedef ctl_table to struct ctl_table (diff)
downloadlinux-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/rtc/hctosys.c')
0 files changed, 0 insertions, 0 deletions