[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DCERAA0PTPE2.1Y0KLQS6IO5O9@google.com>
Date: Fri, 29 Aug 2025 08:07:46 +0000
From: Brendan Jackman <jackmanb@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>, "Liam R. Howlett" <Liam.Howlett@...cle.com>
Cc: Ujwal Kundur <ujwal.kundur@...il.com>, <peterx@...hat.com>, <david@...hat.com>,
<lorenzo.stoakes@...cle.com>, <vbabka@...e.cz>, <rppt@...nel.org>,
<surenb@...gle.com>, <mhocko@...e.com>, <shuah@...nel.org>,
<linux-mm@...ck.org>, <linux-kselftest@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Muhammad Usama Anjum <usama.anjum@...labora.com>
Subject: Re: [PATCH v7 1/1] selftests/mm/uffd: Refactor non-composite global
vars into struct
On Thu Aug 28, 2025 at 10:54 PM UTC, Andrew Morton wrote:
> On Thu, 28 Aug 2025 14:49:37 -0400 "Liam R. Howlett" <Liam.Howlett@...cle.com> wrote:
>
>> * Brendan Jackman <jackmanb@...gle.com> [250828 08:37]:
>> > On Sun Aug 17, 2025 at 6:52 AM UTC, Ujwal Kundur wrote:
>> > > -static void noop_alias_mapping(__u64 __unused *start, size_t __unused len,
>> > > - unsigned long __unused offset)
>> > > +static void noop_alias_mapping(uffd_global_test_opts_t *gopts, __u64 __unused *start,
>> > > + size_t __unused len, unsigned long __unused offset)
>> >
>> > After a rebase this is now falling afoul of the -Wunused-parameter added
>> > here:
>> >
>> > https://lore.kernel.org/all/20250731160132.1795351-5-usama.anjum@collabora.com/T/#m0449dc0d6a5ac3b1f71f7182c13b6829e1b444cf
>> >
>> > I really don't think we want that flag, I'll comment on that thread, but
>> > just as an FYI here too.
>>
>> I was under the impression that it was decided to drop that flag,
>> otherwise I would have also spoken up about it.
>
> err, yes, I thought I'd dropped that.
>
> No -Wunused-parameter, please.
>
> The v2 series needs work and a v3 series is expected so I'll drop the
> v2 series "selftests/mm: Add compiler flags and fix found warnings".
Ah yep I said I'd reply to the other thread but upon re-reading it I
realised you were already against -Wunused-parameter, thanks for
dropping it.
Powered by blists - more mailing lists