From: Laurent Vivier <laurent@vivier.eu>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>, qemu-devel@nongnu.org
Cc: "Kevin Wolf" <kwolf@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Daniel P . Berrangé" <berrange@redhat.com>,
qemu-block@nongnu.org, qemu-trivial@nongnu.org,
"Michael Roth" <michael.roth@amd.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Max Reitz" <mreitz@redhat.com>,
"Eduardo Otubo" <otubo@redhat.com>,
"Alex Williamson" <alex.williamson@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [PATCH v3 5/5] tests/fp/fp-test: Replace the word 'blacklist'
Date: Tue, 9 Mar 2021 22:17:14 +0100 [thread overview]
Message-ID: <a19c2ef3-1c85-4e3f-010d-ee4bd8687cf9@vivier.eu> (raw)
In-Reply-To: <20210303184644.1639691-6-philmd@redhat.com>
Le 03/03/2021 à 19:46, Philippe Mathieu-Daudé a écrit :
> Follow the inclusive terminology from the "Conscious Language in your
> Open Source Projects" guidelines [*] and replace the word "blacklist"
> appropriately.
>
> [*] https://github.com/conscious-lang/conscious-lang-docs/blob/main/faq.md
>
> Acked-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> tests/fp/fp-test.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c
> index 06ffebd6db1..5a4cad8c8b2 100644
> --- a/tests/fp/fp-test.c
> +++ b/tests/fp/fp-test.c
> @@ -123,7 +123,7 @@ static void not_implemented(void)
> fprintf(stderr, "Not implemented.\n");
> }
>
> -static bool blacklisted(unsigned op, int rmode)
> +static bool is_allowed(unsigned op, int rmode)
> {
> /* odd has not been implemented for any 80-bit ops */
> if (rmode == softfloat_round_odd) {
> @@ -161,10 +161,10 @@ static bool blacklisted(unsigned op, int rmode)
> case F32_TO_EXTF80:
> case F64_TO_EXTF80:
> case F128_TO_EXTF80:
> - return true;
> + return false;
> }
> }
> - return false;
> + return true;
> }
>
> static void do_testfloat(int op, int rmode, bool exact)
> @@ -194,7 +194,7 @@ static void do_testfloat(int op, int rmode, bool exact)
> verCases_writeFunctionName(stderr);
> fputs("\n", stderr);
>
> - if (blacklisted(op, rmode)) {
> + if (!is_allowed(op, rmode)) {
> not_implemented();
> return;
> }
>
Applied to my trivial-patches branch.
Thanks,
Laurent
prev parent reply other threads:[~2021-03-09 21:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 18:46 [PATCH v3 0/5] misc: Replace the words 'blacklist/whitelist' Philippe Mathieu-Daudé
2021-03-03 18:46 ` [PATCH v3 1/5] ui: Replace the word 'whitelist' Philippe Mathieu-Daudé
2021-03-09 21:13 ` Laurent Vivier
2021-03-03 18:46 ` [PATCH v3 2/5] scripts/tracetool: " Philippe Mathieu-Daudé
2021-03-08 16:17 ` Stefan Hajnoczi
2021-03-09 21:14 ` Laurent Vivier
2021-03-03 18:46 ` [PATCH v3 3/5] seccomp: Replace the word 'blacklist' Philippe Mathieu-Daudé
2021-03-04 5:33 ` Thomas Huth
2021-03-09 21:15 ` Laurent Vivier
2021-03-03 18:46 ` [PATCH v3 4/5] qemu-options: " Philippe Mathieu-Daudé
2021-03-04 5:36 ` Thomas Huth
2021-03-03 18:46 ` [PATCH v3 5/5] tests/fp/fp-test: " Philippe Mathieu-Daudé
2021-03-04 5:38 ` Thomas Huth
2021-03-09 21:17 ` Laurent Vivier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a19c2ef3-1c85-4e3f-010d-ee4bd8687cf9@vivier.eu \
--to=laurent@vivier.eu \
--cc=alex.bennee@linaro.org \
--cc=alex.williamson@redhat.com \
--cc=aurelien@aurel32.net \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=michael.roth@amd.com \
--cc=mreitz@redhat.com \
--cc=otubo@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).