]> 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)
commit3db3c50ed9ec9ae24f8f9617d5626a7beab718f5
tree6f29ae15005f635809f6b7be8f964cfce29001ec
parent4540fc008dee9297b95eec3b19cb1c529722435b
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