On Mon, Apr 13, 2015 at 09:02:25PM -0000, 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
> ktime.
> 
> Signed-off-by: Thomas Gleixner <t...@linutronix.de>
> Cc: Shigekatsu Tateno <shigekatsu.tat...@atmel.com>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Cc: de...@driverdev.osuosl.org
> ---
>  drivers/staging/ozwpan/ozproto.c |   17 ++++-------------
>  1 file changed, 4 insertions(+), 13 deletions(-)

Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to