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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061222140550.GB26033@infradead.org>
Date:	Fri, 22 Dec 2006 14:05:51 +0000
From:	Christoph Hellwig <hch@...radead.org>
To:	Andrew Morton <akpm@...l.org>
Cc:	"Robert P. J. Day" <rpjday@...dspring.com>,
	Linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH] Rewrite unnecessary duplicated code to use FIELD_SIZEOF().

On Wed, Dec 20, 2006 at 04:46:51PM -0800, Andrew Morton wrote:
> On Sun, 17 Dec 2006 07:43:39 -0500 (EST)
> "Robert P. J. Day" <rpjday@...dspring.com> wrote:
> 
> >   as with ARRAY_SIZE(), there are a number of places (mercifully, far
> > fewer) that recode what could be done with the FIELD_SIZEOF() macro in
> > kernel.h.

Who introduced FIELD_SIZEOF?  The name is the wrong way around, it should
either be SIZEOF_FIELD if you want the SIZEOF part of FIELD_SIZE if you
want to follow the ARRAY_SIZE example/

-
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