Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information