public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@sourceware.org>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>,
	libc-alpha@sourceware.org, Florian Weimer <fweimer@redhat.com>,
	"H.J. Lu" <hjl.tools@gmail.com>
Subject: Re: [PATCH 2/3] tunables: Remove C type arg from TUNABLE_SET* macros
Date: Fri, 5 Feb 2021 08:01:48 +0530	[thread overview]
Message-ID: <3359a8cd-5acd-b9c7-b5c5-3fc54bb76245@sourceware.org> (raw)
In-Reply-To: <26862155-2ae2-4e1b-5f3d-92c39e23ffb0@linaro.org>

On 2/5/21 1:07 AM, Adhemerval Zanella via Libc-alpha wrote:
>> Hmm, the value is always validated against the range.  However, it's read as an unsigned value, which is why things must be going awry.
> 
> Yes, could you fix it on next iteration as well?

Yes, I will include a fix for this.

Siddhesh

  parent reply	other threads:[~2021-02-05  2:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 17:34 [PATCH 0/3] TUNABLE_SET fixes Siddhesh Poyarekar
2021-02-03 17:34 ` [PATCH 1/3] Fix casts when setting tunable range Siddhesh Poyarekar
2021-02-04 13:44   ` Adhemerval Zanella
2021-02-04 14:55     ` Siddhesh Poyarekar
2021-02-03 17:34 ` [PATCH 2/3] tunables: Remove C type arg from TUNABLE_SET* macros Siddhesh Poyarekar
2021-02-04 17:24   ` Adhemerval Zanella
2021-02-04 18:02     ` Siddhesh Poyarekar
2021-02-04 19:37       ` Adhemerval Zanella
2021-02-04 19:42         ` H.J. Lu
2021-02-05  2:30           ` Siddhesh Poyarekar
2021-02-05  2:31         ` Siddhesh Poyarekar [this message]
2021-02-03 17:34 ` [PATCH 3/3] x86: Use SIZE_MAX instead of (long int)-1 for tunable range value Siddhesh Poyarekar
2021-02-04 17:25   ` Adhemerval Zanella

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=3359a8cd-5acd-b9c7-b5c5-3fc54bb76245@sourceware.org \
    --to=siddhesh@sourceware.org \
    --cc=adhemerval.zanella@linaro.org \
    --cc=fweimer@redhat.com \
    --cc=hjl.tools@gmail.com \
    --cc=libc-alpha@sourceware.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).