Re: [PATCH] video: fbdev: vermilion: decrease reference count in error path

2022-11-14 Thread Helge Deller
On 11/14/22 09:56, Xiongfeng Wang wrote: pci_get_device() will increase the reference count for the returned pci_dev. For the error path, we need to use pci_dev_put() to decrease the reference count. Fixes: dbe7e429fedb ("vmlfb: framebuffer driver for Intel Vermilion Range") Signed-off-by: Xiong

[PATCH] video: fbdev: vermilion: decrease reference count in error path

2022-11-14 Thread Xiongfeng Wang
pci_get_device() will increase the reference count for the returned pci_dev. For the error path, we need to use pci_dev_put() to decrease the reference count. Fixes: dbe7e429fedb ("vmlfb: framebuffer driver for Intel Vermilion Range") Signed-off-by: Xiongfeng Wang --- drivers/video/fbdev/vermili