diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-07-15 16:28:45 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-07-20 12:19:57 +0300 |
commit | b46998d81a1d2c961d570397e87a83ef365d2edf (patch) | |
tree | c222d410a00a1512258cf3193633e6a50d3b2807 /drivers/dma-buf | |
parent | f34bf652d680cf65783e7c57d61c94ee87f092bd (diff) | |
download | linux-b46998d81a1d2c961d570397e87a83ef365d2edf.tar.xz |
drm/bochs: Fix missing pci_disable_device() on error in bochs_pci_probe()
Replace pci_enable_device() with pcim_enable_device(),
pci_disable_device() will be called in release automatically.
v3:
reformat commit message
update for move to tiny/
v2:
use pcim_enable_device()
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210715132845.2415619-1-yangyingliang@huawei.com
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions