On 4/27/23 10:27?AM, Stefan Roesch wrote: >>> + if (timespec64_compare(ts, &pollto) > 0) { >>> + *ts = timespec64_sub(*ts, pollto); >>> + *new_poll_to = poll_to; >>> + } else { >>> + u64 to = timespec64_to_ns(ts); >>> + >>> + do_div(to, 1000); >> >> Is this going to complain on 32-bit? >> > > My understanding is this should work on 32-bit. Yeah seems fine, I ended up double checking it too. -- Jens Axboe