mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
03e9f8a05b
The function virtqueue_get_buf_ctx() could return NULL, the return value 'buf' need to be checked with NULL, not value 'ctx'. Signed-off-by: Yunjian Wang <wangyunjian@huawei.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>