mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:24:47 +01:00
pci_get_device() will increase the reference count for the returned pci_dev, and also decrease the reference count for the input parameter from if it is not NULL. If we break the loop in with 'vf_pdev' not NULL. We need to call pci_dev_put() to decrease the reference count. Found via static anlaysis and this is similar to commit |
||
|---|---|---|
| .. | ||
| Makefile | ||
| octep_vdpa.h | ||
| octep_vdpa_hw.c | ||
| octep_vdpa_main.c | ||