Home
last modified time | relevance | path

Searched hist:"752774 ce7793a1f8baa55aae31f3b4caac49cbe4" (Results 1 – 1 of 1) sorted by relevance

/linux/samples/vfio-mdev/
H A Dmdpy-fb.cdiff 752774ce7793a1f8baa55aae31f3b4caac49cbe4 Thu May 20 15:36:41 CEST 2021 Wei Yongjun <weiyongjun1@huawei.com> samples: vfio-mdev: fix error handing in mdpy_fb_probe()

Fix to return a negative error code from the framebuffer_alloc() error
handling case instead of 0, also release regions in some error handing
cases.

Fixes: cacade1946a4 ("sample: vfio mdev display - guest driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Message-Id: <20210520133641.1421378-1-weiyongjun1@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>