]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Provide an wrapper around the mutex to do lockdep warnings
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 3 Dec 2014 21:40:27 +0000 (16:40 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 4 Dec 2014 12:41:59 +0000 (12:41 +0000)
commit52423c6ab74755ffa651278003d201c79c884f0f
tree6f29ae15005f635809f6b7be8f964cfce29001ec
parent59d62463fe2ff8635e8533c5d60c97a68f3fe5c2
driver core: Provide an wrapper around the mutex to do lockdep warnings

Instead of open-coding it in drivers that want to double check
that their functions are indeed holding the device lock.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Suggested-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/xen-pciback/pci_stub.c
include/linux/device.h