linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hch@lst.de (Christoph Hellwig)
Subject: [PATCH 3/3] nvme.h: add missing nvme_id_ctrl endianess annotations
Date: Sat,  3 Oct 2015 15:51:12 +0200	[thread overview]
Message-ID: <1443880272-25801-4-git-send-email-hch@lst.de> (raw)
In-Reply-To: <1443880272-25801-1-git-send-email-hch@lst.de>

Signed-off-by: Christoph Hellwig <hch at lst.de>
Acked-by: Keith Busch <keith.busch at intel.com>
---
 include/linux/nvme.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 91a8054..9668d35 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -104,8 +104,8 @@ struct nvme_id_ctrl {
 	__u8			ieee[3];
 	__u8			mic;
 	__u8			mdts;
-	__u16			cntlid;
-	__u32			ver;
+	__le16			cntlid;
+	__le32			ver;
 	__u8			rsvd84[172];
 	__le16			oacs;
 	__u8			acl;
-- 
1.9.1

  parent reply	other threads:[~2015-10-03 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03 13:51 nvme header reshuffle V2 Christoph Hellwig
2015-10-03 13:51 ` [PATCH 1/3] nvme: add a local nvme.h header Christoph Hellwig
2015-10-03 13:51 ` [PATCH 2/3] nvme: move hardware structures out of the uapi version of nvme.h Christoph Hellwig
2015-10-03 13:51 ` Christoph Hellwig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-02 14:04 nvme header reshuffle Christoph Hellwig
2015-10-02 14:04 ` [PATCH 3/3] nvme.h: add missing nvme_id_ctrl endianess annotations Christoph Hellwig

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=1443880272-25801-4-git-send-email-hch@lst.de \
    --to=hch@lst.de \
    /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).