Re: [PATCH v1 1/1] hyper-v: Replace uuid.h with types.h

From: Andy Shevchenko
Date: Sat Oct 02 2021 - 03:50:36 EST


On Sat, Oct 2, 2021 at 1:36 AM Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> wrote:
> > -----Original Message-----
> > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > Sent: Friday, October 1, 2021 9:56 AM

...

> Hyper-v drivers are using uuid/guid APIs, but they can get the defs from
> linux/mod_devicetable.h:
>
> ./include/linux/mod_devicetable.h:#include <linux/uuid.h>
> ./include/linux/hyperv.h:#include <uapi/linux/hyperv.h>
> ./include/linux/hyperv.h:#include <linux/mod_devicetable.h>

Yes, drivers inside the kernel may use that and this is the correct
way. The uAPI is not using it.

> So your patch looks fine. Thanks.
>
> Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

Thank you!


--
With Best Regards,
Andy Shevchenko