public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Bian Naimeng <biannm@cn.fujitsu.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 1/4] NLM: Kill PROC macro from NLMv1 and NLMv3 server procedures
Date: Thu, 16 Jul 2009 17:27:27 -0400	[thread overview]
Message-ID: <1247779647.12292.164.camel@heimdal.trondhjem.org> (raw)
In-Reply-To: <4A5EF2FB.1010403@cn.fujitsu.com>

On Thu, 2009-07-16 at 17:29 +0800, Bian Naimeng wrote:

> +	[NLMPROC_NSM_NOTIFY] = {
> +		.pc_func	= (svc_procfunc) nlmsvc_proc_sm_notify,
> +		.pc_decode	= (kxdrproc_t) nlmsvc_decode_reboot,
> +		.pc_encode	= (kxdrproc_t) nlmsvc_encode_void,
> +		.pc_release	= NULL,
> +		.pc_argsize	= sizeof(struct nlm_reboot),
> +		.pc_ressize	= sizeof(struct nlm_void),
> +		.pc_xdrressize	= 1,
> +	},
> +	NLMSVC_NONE_PROC,
> +	NLMSVC_NONE_PROC,
> +	NLMSVC_NONE_PROC,

Hmm... Does the C standard really allow you to mix C99 initialisers and
K&R initialisers in this manner?

Cheers
  Trond


  reply	other threads:[~2009-07-16 21:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16  9:27 [PATCH 0/4] Kill PROC macro from NLM Bian Naimeng
2009-07-16  9:29 ` [PATCH 1/4] NLM: Kill PROC macro from NLMv1 and NLMv3 server procedures Bian Naimeng
2009-07-16 21:27   ` Trond Myklebust [this message]
     [not found]     ` <1247779647.12292.164.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-07-17  3:33       ` Bian Naimeng
2009-07-16  9:30 ` [PATCH 2/4]Kill PROC macro from NLMv4 " Bian Naimeng
2009-07-16  9:31 ` [PATCH 3/4] NLM: Kill PROC macro from NLMv1 and NLMv3 client procedures Bian Naimeng
2009-07-16  9:32 ` [PATCH 4/4]NLM: Kill PROC macro from NLMv4 " Bian Naimeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1247779647.12292.164.camel@heimdal.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=biannm@cn.fujitsu.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox