]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet: don't use uuid_le type
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 17 Jul 2018 14:17:36 +0000 (17:17 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 24 Jul 2018 13:55:51 +0000 (15:55 +0200)
commit63199f3572cbb22d03346b8762e144107f3f8a63
tree30e600069e9dac585697ba0b88e4419ce83da5d8
parentc0d977e03e49f144be7413ab10705c53c347d66c
nvmet: don't use uuid_le type

Don't use sizeof(uuid_le) where none of the parameters is type of uuid_le.
Since both arguments are u8 [16], use size of destination there.

Moreover, uuid_le is a deprecated type, and nvmet is using uuid_t
already.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/admin-cmd.c