[Bug 245768] timer tests of sys.kqueue.libkqueue.kqueue_test.main failing on i386
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 21 03:57:38 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245768
--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kevans
Date: Tue Apr 21 03:57:31 UTC 2020
New revision: 360140
URL: https://svnweb.freebsd.org/changeset/base/360140
Log:
kqueue: fix conversion of timer data to sbintime
This unbreaks the i386 kqueue timer tests after a recent change switched
NOTE_ABSTIME over to using microseconds. Notably, the data argument (which
holds useconds) is an int64_t, but we were passing it to timer2sbintime
which takes an intptr_t. Perhaps in a previous incarnation, intptr_t would
have made sense, but now it just leads to the timestamp getting truncated
and subsequently rejected when it no longer fits in an intptr_t.
PR: 245768
Reported by: lwhsu / CI
MFC after: 1 week
Changes:
head/sys/kern/kern_event.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list