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: <36ca99e90805080801p5ee91ba1w868b04429a1ac732@mail.gmail.com>
Date:	Thu, 8 May 2008 17:01:05 +0200
From:	"Bert Wesarg" <bert.wesarg@...glemail.com>
To:	"Alexey Dobriyan" <adobriyan@...il.com>
Cc:	akpm@...l.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] Fix cpumask_scnprintf_len() misdesign

On Thu, May 8, 2008 at 12:14 AM, Alexey Dobriyan <adobriyan@...il.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@...il.com>
Acked-by: Bert Wesarg <bert.wesarg@...glemail.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ