mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
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_blk.c | ||
vdpa_sim_net.c | ||
vdpa_sim.c | ||
vdpa_sim.h |