lkml.org 
[lkml]   [2020]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH V4 5/5] vdpasim: vDPA device simulator
Date
+       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.



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