diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-07-15 21:28:45 +0800 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-07-20 11:19:57 +0200 |
commit | b46998d81a1d2c961d570397e87a83ef365d2edf (patch) | |
tree | c222d410a00a1512258cf3193633e6a50d3b2807 /drivers/gpu/drm/i915/Makefile | |
parent | f34bf652d680cf65783e7c57d61c94ee87f092bd (diff) | |
download | linux-b46998d81a1d2c961d570397e87a83ef365d2edf.tar.bz2 |
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/gpu/drm/i915/Makefile')
0 files changed, 0 insertions, 0 deletions