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: <20080718191228.GD12007@fieldses.org>
Date:	Fri, 18 Jul 2008 15:12:28 -0400
From:	"J. Bruce Fields" <bfields@...ldses.org>
To:	Harvey Harrison <harvey.harrison@...il.com>
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, Jul 18, 2008 at 11:02:07AM -0700, Harvey Harrison wrote:
> 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.

Thanks, done.--b.
--
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