Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1198377

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

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH v6 5/5] nvme: LightNVM support
Date 2015-08-02 10:00 +0200
Message-ID <pSWlz-5Zn-3@gated-at.bofh.it> (permalink)
References <pRb5n-7Bt-5@gated-at.bofh.it> <pRb5o-7Bt-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 5/5] nvme: LightNVM support Matias Bjørling <mb@lightnvm.io> - 2015-07-28 13:20 +0200
  Re: [PATCH v6 5/5] nvme: LightNVM support Pavel Machek <pavel@ucw.cz> - 2015-08-02 10:00 +0200
    Re: [PATCH v6 5/5] nvme: LightNVM support Matias <mb@lightnvm.io> - 2015-08-04 14:10 +0200

csiph-web