dma-buf: add some lockdep asserts to the reservation object implementation
authorLucas Stach <l.stach@pengutronix.de>
Tue, 13 Jun 2017 08:26:46 +0000 (10:26 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 27 Feb 2019 22:51:43 +0000 (23:51 +0100)
commit547c7138bcfb869c4cda6548f358eaa64102cccf
tree0168c78127332548381f5c369bd91dd1f3101f76
parent60b801999c48b6c1dd04e653a38e2e613664264e
dma-buf: add some lockdep asserts to the reservation object implementation

This adds lockdep asserts to the reservation functions which state in their
documentation that obj->lock must be held. Allows builds with PROVE_LOCKING
enabled to check that the locking requirements are met.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180111165302.25556-1-l.stach@pengutronix.de
drivers/dma-buf/reservation.c