On Wed, Aug 03, 2016 at 06:51:15PM -0300, Marcelo Ricardo Leitner wrote: > On Wed, Aug 03, 2016 at 11:23:12PM +0200, Phil Sutter wrote: > > Since it is exported as unsigned value, userspace has no way detecting > > whether it is negative or just very large. Therefore do this in kernel > > space where it is a simple comparison. > > > > Signed-off-by: Phil Sutter <p...@nwl.cc> > > --- > > Changes since v1: > > - Introduce local variable to shorten long lines. > > - Use timer_pending() to decide whether to export the timer value. > > - Export the primary path's value instead of garbage. > > This is now the most important change on the patch IMO. Can we mention > it on changelog itself? > > A Fixes tag is welcomed too, as previous values were incorrect.
Oh right, thanks for pointing this out. I will follow-up with a fixed v3. Thanks, Phil