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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1216404127.6029.149.camel@brick>
Date:	Fri, 18 Jul 2008 11:02:07 -0700
From:	Harvey Harrison <harvey.harrison@...il.com>
To:	"J. Bruce Fields" <bfields@...ldses.org>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] nfs: nfs4xdr use C99 array initializers

On Fri, 2008-07-18 at 14:01 -0400, J. Bruce Fields wrote:
> On Thu, Jul 17, 2008 at 09:33:03PM -0700, Harvey Harrison wrote:
> > Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
> 
> OK, thanks.  But I'd rather just skip the macro:
> 
> > +#define NFSD4_DEC_OP(idx, op)	[(idx)] = (nfsd4_dec)(op)
> > -	[OP_ACCESS]		(nfsd4_dec)nfsd4_decode_access,
> > -	[OP_CLOSE]		(nfsd4_dec)nfsd4_decode_close,
> > -	[OP_COMMIT]		(nfsd4_dec)nfsd4_decode_commit,
> > -	[OP_CREATE]		(nfsd4_dec)nfsd4_decode_create,
> > -	[OP_DELEGPURGE]		(nfsd4_dec)nfsd4_decode_notsupp,
> ...
> > +	NFSD4_DEC_OP(OP_ACCESS, nfsd4_decode_access),
> > +	NFSD4_DEC_OP(OP_CLOSE, nfsd4_decode_close),
> > +	NFSD4_DEC_OP(OP_COMMIT, nfsd4_decode_commit),
> > +	NFSD4_DEC_OP(OP_CREATE, nfsd4_decode_create),
> > +	NFSD4_DEC_OP(OP_DELEGPURGE, nfsd4_decode_notsupp),
> 
> and just add equals signs, if there's no substantial objection.
> 

None here.

Harvey

--
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