ktime: Add __must_check prefix to ktime_to_timespec_cond
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 16 May 2013 13:47:49 +0000 (15:47 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 28 May 2013 21:00:58 +0000 (14:00 -0700)
commit35b210855069ae34450eeaafc0f1b5bfa4f71c87
tree7649bd4aaf13cb07152cbad8012bfec253916342
parenta44b8bd6072ac82fc49af941de8c1ac85d94852d
ktime: Add __must_check prefix to ktime_to_timespec_cond

The function is currently mainly used in the networking code and
if others start using it, they must check the result, otherwise
it cannot be determined if the timespec conversion suceeded.
Currently no user lacks this check, but make future users aware of
a possible misusage.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/ktime.h