[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b8af74c6-1489-421b-8495-0056ecf144d8@linuxfoundation.org>
Date: Tue, 9 Jul 2024 14:35:20 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Andrei Vagin <avagin@...il.com>, John Hubbard <jhubbard@...dia.com>
Cc: Shuah Khan <shuah@...nel.org>, Dmitry Safonov <dima@...sta.com>,
Thomas Gleixner <tglx@...utronix.de>, Valentin Obst
<kernel@...entinobst.de>, linux-kselftest@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>, llvm@...ts.linux.dev,
Muhammad Usama Anjum <usama.anjum@...labora.com>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v3] selftest/timerns: fix clang build failures for abs()
calls
On 7/3/24 21:44, Andrei Vagin wrote:
> On Wed, Jul 3, 2024 at 7:52 PM John Hubbard <jhubbard@...dia.com> wrote:
>>
>> When building with clang, via:
>>
>> make LLVM=1 -C tools/testing/selftests
>>
>> ...clang warns about mismatches between the expected and required
>> integer length being supplied to abs(3).
>>
>> Fix this by using the correct variant of abs(3): labs(3) or llabs(3), in
>> these cases.
>>
>
> Acked-by: Andrei Vagin <avagin@...gle.com>
>
Sent in for Linux 6.10 fixes update.
thanks,
-- Shuah
Powered by blists - more mailing lists