mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
Building with clang results in the following warning:
posix_timers.c:69:6: warning: absolute value function 'abs' given an
argument of type 'long long' but has parameter of type 'int' which may
cause truncation of value [-Wabsolute-value]
if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) {
^
So switch to using llabs() instead.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| adjtick.c | ||
| alarmtimer-suspend.c | ||
| change_skew.c | ||
| clocksource-switch.c | ||
| freq-step.c | ||
| inconsistency-check.c | ||
| leap-a-day.c | ||
| leapcrash.c | ||
| Makefile | ||
| mqueue-lat.c | ||
| nanosleep.c | ||
| nsleep-lat.c | ||
| posix_timers.c | ||
| raw_skew.c | ||
| rtcpie.c | ||
| set-2038.c | ||
| set-tai.c | ||
| set-timer-lat.c | ||
| set-tz.c | ||
| settings | ||
| skew_consistency.c | ||
| threadtest.c | ||
| valid-adjtimex.c | ||