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);
> +
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
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
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
4 matches
Mail list logo