android_kernel_motorola_sm6375/samples/vfio-mdev
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Wei Yongjun 60dcad10e2 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
[ Upstream commit 752774ce7793a1f8baa55aae31f3b4caac49cbe4 ]

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: cacade1946 ("sample: vfio mdev display - guest driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-06-10 13:37:03 +02:00
..
Makefile
mbochs.c
mdpy-defs.h
mdpy-fb.c
mdpy.c
mtty.c