From: "Bert Wesarg" <bert.wesarg@googlemail.com>
To: "Alexey Dobriyan" <adobriyan@gmail.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/5] Fix cpumask_scnprintf_len() misdesign
Date: Thu, 8 May 2008 17:01:05 +0200 [thread overview]
Message-ID: <36ca99e90805080801p5ee91ba1w868b04429a1ac732@mail.gmail.com> (raw)
In-Reply-To: <20080507221450.GA14375@martell.zuzino.mipt.ru>
On Thu, May 8, 2008 at 12:14 AM, Alexey Dobriyan <adobriyan@gmail.com> wrote:
> cpumask_scnprintf_len() takes "len" as an argument which is surprising,
> If one follows call chain down it isn't length but number of bits. But
> there is natural number of bits when talking about CPU masks -- NR_CPUS.
> So use that.
Reported-here: http://thread.gmane.org/gmane.linux.kernel/671725
>
> Remove 1:1 wrapper macro while I'm at it.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Bert Wesarg <bert.wesarg@googlemail.com>
prev parent reply other threads:[~2008-05-08 15:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 22:14 Alexey Dobriyan
2008-05-07 21:35 ` Andrew Morton
2008-05-07 23:06 ` Paul Jackson
2008-05-08 15:01 ` Bert Wesarg [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=36ca99e90805080801p5ee91ba1w868b04429a1ac732@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®