Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fbdev: cyber2000fb: fix missing pci_disable_device()

Add missing pci_disable_device() in error path of probe() and remove() path.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Yang Yingliang and committed by
Helge Deller
3c6bf6bd 835bed1b

+2
+2
drivers/video/fbdev/cyber2000fb.c
··· 1796 failed_regions: 1797 cyberpro_free_fb_info(cfb); 1798 failed_release: 1799 return err; 1800 } 1801 ··· 1813 int_cfb_info = NULL; 1814 1815 pci_release_regions(dev); 1816 } 1817 } 1818
··· 1796 failed_regions: 1797 cyberpro_free_fb_info(cfb); 1798 failed_release: 1799 + pci_disable_device(dev); 1800 return err; 1801 } 1802 ··· 1812 int_cfb_info = NULL; 1813 1814 pci_release_regions(dev); 1815 + pci_disable_device(dev); 1816 } 1817 } 1818