Re: [PATCH 0/2] timers test fix and duplicate defines cleanup

From: Thomas Gleixner
Date: Thu Sep 26 2024 - 13:15:32 EST


On Tue, Sep 24 2024 at 09:56, Shuah Khan wrote:

> The first patch in this two patch fixes warn_unused_result compile
> time warning in posix_timers test.
>
> The second patch removes local NSEC_PER_SEC and USEC_PER_SEC defines.
> NSEC_PER_SEC and USEC_PER_SEC are defines in several timers tests.
> These defines are inconsistent with variations of ULL, LL, etc. without
> any explanation why it is necessary.
>
> These defines can be picked up from include/vdso/time64.h header
> file. In the interest of making it easier to maintain, remove the
> local defines. Include include/vdso/time64.h instead. This change
> will also make the defines consistent.

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>