Re: [patch 5/5] staging: ozwpan: Fix hrtimer wreckage

2015-04-13 Thread Greg Kroah-Hartman
On Mon, Apr 13, 2015 at 09:02:25PM -, Thomas Gleixner wrote: > oz_timer_add() modifies the expiry value of an active timer, which > results in data corruption. > > Use hrtimer_start() and remove the silly conditional. > > While at it use the proper helper function to convert milliseconds to >

[patch 5/5] staging: ozwpan: Fix hrtimer wreckage

2015-04-13 Thread Thomas Gleixner
oz_timer_add() modifies the expiry value of an active timer, which results in data corruption. Use hrtimer_start() and remove the silly conditional. While at it use the proper helper function to convert milliseconds to ktime. Signed-off-by: Thomas Gleixner Cc: Shigekatsu Tateno Cc: Greg Kroah-