2b847f2114
The vdpa_alloc_device() returns an error pointer upon
failure, not NULL. To handle the failure correctly, this
replaces NULL check with IS_ERR() check and propagate the
error upwards.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
vdpa_sim.c | ||
vdpa_sim.h | ||
vdpa_sim_blk.c | ||
vdpa_sim_net.c |