]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gasket: core: hold reference on device while in use
authorTodd Poynor <toddpoynor@google.com>
Sat, 28 Jul 2018 19:33:24 +0000 (12:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 06:05:45 +0000 (08:05 +0200)
commit517dbb1e0e793acb03539f06b4ba54646b9a9fac
tree182cac21ed72e2d6825b3602ac9e665c99bbbc6d
parent71310ae2c2c0fce4fa4998cf949ea53647a878ce
staging: gasket: core: hold reference on device while in use

Hold a reference on the struct device while a pointer to that
device is in use by gasket.

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