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

From: Wei Liu
Date: Wed Oct 06 2021 - 08:06:16 EST


On Sat, Oct 02, 2021 at 10:46:16AM +0300, Andy Shevchenko wrote:
> 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!

Applied to hyperv-fixes. Thanks.

Wei.

>
>
> --
> With Best Regards,
> Andy Shevchenko