Re: [PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 4:03 PM, Johannes Thumshirn wrote: > struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. ...and we can convert to use UUID API. > - memcpy(ns->uuid, data + pos + sizeof(*cur), len); > +

Re: [PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Andy Shevchenko
On Sat, Jun 10, 2017 at 4:03 PM, Johannes Thumshirn wrote: > struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. ...and we can convert to use UUID API. > - memcpy(ns->uuid, data + pos + sizeof(*cur), len); > + memcpy(>uuid, data + pos

[PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Johannes Thumshirn
struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/core.c | 8 drivers/nvme/host/nvme.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/nvme/host/core.c

[PATCH] nvme: use uuid_t in nvme_ns

2017-06-10 Thread Johannes Thumshirn
struct nvme_ns still uses u u8 uuid[16], change it to using uuid_t. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/core.c | 8 drivers/nvme/host/nvme.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c