diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-11-02 21:40:10 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-11-02 21:40:10 +0100 |
commit | 7afa05350c42d8427f2d8f6112b64ab0812f3289 (patch) | |
tree | 07a972ee758fa975dc4f524df6e3f37628938255 /drivers/ide/ide-gd.c | |
parent | 9d4eb0a33e620a85e36f66cf895d2bea6d556eac (diff) |
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 'drivers/ide/ide-gd.c')
0 files changed, 0 insertions, 0 deletions