]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a995e20da18359b96952a0facd71bf32860809c
tree0168c78127332548381f5c369bd91dd1f3101f76
parent84e04c56c6969f6028ff9a1b03aa0fb1c3b55a07
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