Messages in this thread | | | Date | Thu, 8 May 2008 17:01:05 +0200 | From | "Bert Wesarg" <> | Subject | Re: [PATCH 1/5] Fix cpumask_scnprintf_len() misdesign |
| |
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>
| |