Re: [PATCH v1] vmbus: Reuse uuid_le_to_bin() helper

From: Andy Shevchenko
Date: Wed May 03 2017 - 13:19:36 EST


On Wed, 2017-05-03 at 20:07 +0300, Andy Shevchenko wrote:
> Instead of open coded variant use generic helper to convert UUID
> strings
> to binary format.

> @@ -677,12 +644,14 @@ static ssize_t remove_id_store(struct
> device_driver *driver, const char *buf,
> Â{
> Â struct hv_driver *drv = drv_to_hv_drv(driver);
> Â struct vmbus_dynid *dynid, *n;
>

> - size_t retval = -ENODEV;
>
> + ssize_t retval;

Just noticed, I'm fixing a bug here as well.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy