From: Johannes Berg <johannes@sipsolutions.net>
To: Arend van Spriel <arend@broadcom.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Gautam Kumar Shukla <gautams@broadcom.com>,
Avinash Patil <patila@marvell.com>
Subject: Re: [PATCH] cfg80211: add extensible feature flag attribute
Date: Tue, 23 Dec 2014 17:07:16 +0100 [thread overview]
Message-ID: <1419350836.6091.10.camel@sipsolutions.net> (raw)
In-Reply-To: <549992C0.4080708@broadcom.com>
On Tue, 2014-12-23 at 17:05 +0100, Arend van Spriel wrote:
> It compiles, but I guess nla_put() will fail for u8[0+8-1/8] field.
I think it should work - the array is 0 bytes long, so sizeof() would
return 0, and that turns out to be equivalent to nla_put_flag().
johannes
next prev parent reply other threads:[~2014-12-23 16:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 15:55 [PATCH] cfg80211: add extensible feature flag attribute Arend van Spriel
2014-12-23 15:58 ` Johannes Berg
2014-12-23 16:05 ` Arend van Spriel
2014-12-23 16:07 ` Johannes Berg [this message]
2014-12-23 19:05 ` Arend van Spriel
2015-01-06 10:35 ` Johannes Berg
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=1419350836.6091.10.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=arend@broadcom.com \
--cc=gautams@broadcom.com \
--cc=linux-wireless@vger.kernel.org \
--cc=patila@marvell.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.