]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gasket: core: hold reference to pci_dev while used
authorTodd Poynor <toddpoynor@google.com>
Sun, 29 Jul 2018 19:36:34 +0000 (12:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jul 2018 08:54:50 +0000 (10:54 +0200)
commitfc46a94410e8c04e04e3fa3edd7b3e2eb2015387
tree838d25ad20033bf5898abeb66652ab2559bea1f0
parent358db685ff1995e2916bd8b9ee374d94f2b4094d
staging: gasket: core: hold reference to pci_dev while used

Hold a reference on the struct pci_dev while a pointer to it is held in
the gasket data structures.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c