Skip to content
Commit 222722bc authored by Yunjian Wang's avatar Yunjian Wang Committed by David S. Miller
Browse files

virtio_net: check virtqueue_add_sgs() return value



As virtqueue_add_sgs() can fail, we should check the return value.

Addresses-Coverity-ID: 1464439 ("Unchecked return value")
Signed-off-by: default avatarYunjian Wang <wangyunjian@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 849fd444
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment