lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b133c105-861f-4c56-b3ef-ea2ec5054e65@igalia.com>
Date: Wed, 19 Nov 2025 12:31:42 -0300
From: André Almeida <andrealmeid@...lia.com>
To: Wake Liu <wakel@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
 Thomas Gleixner <tglx@...utronix.de>, Darren Hart <dvhart@...radead.org>,
 Davidlohr Bueso <dave@...olabs.net>, linux-kernel@...r.kernel.org,
 linux-kselftest@...r.kernel.org, Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH] kselftest: futex: Fix memset with zero size warning

Hi Wake,

Em 19/11/2025 00:00, Wake Liu escreveu:
> The `FIXTURE(args)` macro defines an empty `struct _test_data_args`,
> leading to `sizeof(struct _test_data_args)` evaluating to 0. This
> caused a build error due to a compiler warning on a `memset` call
> with a zero size argument.
> 

Do you mind sharing your compiler options? I can't reproduce this 
warning here. I also noted that a few other selftests have this pattern 
of defining an empty FIXTURE(), do they also produce warnings?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ