Re: [PATCH v6 5/5] nvme: LightNVM support

From: Matias
Date: Tue Aug 04 2015 - 08:00:21 EST


On 08/02/2015 09:57 AM, Pavel Machek wrote:
Hi!

+struct nvme_nvm_hb_rw {
+ __u8 opcode;
+ __u8 flags;
+ __u16 command_id;
+ __le32 nsid;
+ __u64 rsvd2;
+ __le64 metadata;
+ __le64 prp1;
+ __le64 prp2;
+ __le64 slba;
+ __le16 length;
+ __le16 control;
+ __le32 dsmgmt;
+ __le64 phys_addr;
+};

You are not exporting this to userland, so you can get rid of "__"s.

Pavel



Thanks. I will get them removed. It was a leftover for when it was in the nvme uapi header.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/