mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
375b9ff53c
In the unlikely case that CLOCK_REALTIME is not defined, variable ret is
not initialized and further accumulation of return values to ret can leave
ret in an undefined state. Fix this by initialized ret to zero and changing
the assignment of ret to an accumulation for the CLOCK_REALTIME case.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
parse_vdso.c | ||
parse_vdso.h | ||
vdso_config.h | ||
vdso_standalone_test_x86.c | ||
vdso_test_abi.c | ||
vdso_test_clock_getres.c | ||
vdso_test_correctness.c | ||
vdso_test_getcpu.c | ||
vdso_test_gettimeofday.c |