mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
8d0d16a3ef
smatch warning:
drivers/accel/qaic/qaic_data.c:620 qaic_free_object() error:
dereferencing freed memory 'obj->import_attach'
obj->import_attach is detached and freed using dma_buf_detach().
But used after free to decrease the dmabuf ref count using
dma_buf_put().
drm_prime_gem_destroy() handles this issue and performs the proper clean
up instead of open coding it in the driver.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mhi_controller.c | ||
mhi_controller.h | ||
qaic_control.c | ||
qaic_data.c | ||
qaic_drv.c | ||
qaic.h |