diff options
author | 2008-11-02 21:40:10 +0100 | |
---|---|---|
committer | 2008-11-02 21:40:10 +0100 | |
commit | 7afa05350c42d8427f2d8f6112b64ab0812f3289 (patch) | |
tree | 07a972ee758fa975dc4f524df6e3f37628938255 /include/linux/kernel.h | |
parent | tx4938ide: Do not call devm_ioremap for whole 128KB (diff) | |
download | wireguard-linux-7afa05350c42d8427f2d8f6112b64ab0812f3289.tar.xz wireguard-linux-7afa05350c42d8427f2d8f6112b64ab0812f3289.zip |
tx4938ide: Avoid underflow on calculation of a wait cycle
Make 'wt' variable signed while it can be negative during calculation.
Suggested-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: sshtylyov@ru.mvista.com
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions