All of lore.kernel.org
 help / color / mirror / Atom feed
* Which type to use for timestamps: u64 or s64?
@ 2015-11-05  7:41 Hans Verkuil
  2015-11-05  8:36 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Verkuil @ 2015-11-05  7:41 UTC (permalink / raw)
  To: Linux Media Mailing List, y2038, Arnd Bergmann; +Cc: Junghak Sung

Hi Arnd,

We're redesigning the timestamp handling in the video4linux subsystem moving away
from struct timeval to a single timestamp in ns (what ktime_get_ns() gives us).
But I was wondering: ktime_get_ns() gives a s64, so should we use s64 as well as
the timestamp type we'll eventually be returning to the user, or should we use u64?

The current patch series we made uses a u64, but I am now beginning to doubt that
decision.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-05  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05  7:41 Which type to use for timestamps: u64 or s64? Hans Verkuil
2015-11-05  8:36 ` Arnd Bergmann
2015-11-05  9:05   ` [Y2038] " Hans Verkuil
2015-11-05  9:25     ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.