commit | e71084af58cf15e6043338500eeaf6281d0a62af | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Sat Jan 22 15:05:03 2011 +0100 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Sun Jan 23 12:31:01 2011 +0100 |
tree | d757d4891a4f93f7a07c1f12448d3be3be748fa1 | |
parent | dbc9880fa731fe2482a706bbabb4165269233063 [diff] |
firewire: core: fix card->reset_jiffies overflow On a 32-bit machine with, e.g., HZ=1000, jiffies will overflow after about 50 days, so if there are between 25 and 50 days between bus resets, the card->reset_jiffies comparisons can get wrong results. To fix this, ensure that this timestamp always uses 64 bits. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: "Stefan Richter" <stefanr@s5r6.in-berlin.de>