[PATCH v6 5/5] nvme: LightNVM support

Pavel Machek pavel at ucw.cz
Sun Aug 2 00:57:53 PDT 2015


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
							      
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the Linux-nvme mailing list