lkml.org 
[lkml]   [2020]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V4 5/5] vdpasim: vDPA device simulator
From
Date

On 2020/2/21 下午4:33, Harpreet Singh Anand wrote:
> + ret = device_register(&vdpasim->dev);
> + if (ret)
> + goto err_init;
> +
> + vdpasim->vdpa = vdpa_alloc_device(dev, dev, &vdpasim_net_config_ops);
> + if (ret)
> + goto err_vdpa;
>
> [HSA] Incorrect checking of the return value of vdpa_alloc_device.


Yes, fixed.

Thanks

\
 
 \ /
  Last update: 2020-02-21 09:51    [W:0.082 / U:30.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site