Skip to content
Snippets Groups Projects
Commit 88fc3897 authored by George Anzinger's avatar George Anzinger Committed by Linus Torvalds
Browse files

[PATCH] Normalize timespec for negative values in ns_to_timespec


- In case of a negative nsec value the result of the division must be
  normalized.

- Remove inline from an exported function.

Signed-off-by: default avatarGeorge Anzinger <george@wildturkeyranch.net>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 034b91a3
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment