linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Ben Greear <greearb@candelatech.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: NL80211_ATTR_PAD question
Date: Fri, 10 Jun 2016 22:28:58 +0200	[thread overview]
Message-ID: <575B230A.3070208@broadcom.com> (raw)
In-Reply-To: <575B1964.2030806@candelatech.com>



On 10-06-16 21:47, Ben Greear wrote:
> I see this was added sometime recently:  NL80211_ATTR_PAD
> 
> If another enum member is added, should it replace the PAD enum?

Nope. This attribute is used as padattr by 64-bit aligned netlink
functions, ie. nla_put_u64_64bit().

> At the least, I think we need some comments about how this is to be dealt
> with.

> * @NL80211_ATTR_PAD: attribute used for padding for 64-bit alignment

This could indeed use a bit more explanation.

Regards,
Arend

  reply	other threads:[~2016-06-10 20:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-10 19:47 NL80211_ATTR_PAD question Ben Greear
2016-06-10 20:28 ` Arend van Spriel [this message]
2016-06-10 21:08 ` Johannes Berg
2016-06-10 22:40   ` Ben Greear
2016-06-13 19:25   ` Arend van Spriel
2016-06-21  9:36     ` 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=575B230A.3070208@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@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;
as well as URLs for NNTP newsgroup(s).