On Thu, Apr 23, 2020 at 03:43:32PM +0000, Chaitanya Kulkarni wrote: > On 04/23/2020 08:32 AM, Andy Shevchenko wrote: > > There is a specific API to treat raw data as UUID, i.e. import_uuid(). > > Use it instead of uuid_copy() with explicit casting. > > > > Signed-off-by: Andy Shevchenko<andriy.shevchenko@xxxxxxxxxxxxxxx> > > At the end it does the same thing, For now yes, who knows how uuid_t will look like in the future... > I think we can avoid cast though. This and possibility to change uuid_t if needed. > Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> Thanks! -- With Best Regards, Andy Shevchenko