[PATCH v1 0/2] Fixes for dma-buf locking issues found by Smatch

From: Dmitry Osipenko
Date: Wed Oct 26 2022 - 18:47:53 EST


Hello,

Here are the two patches fixing minor problems introduced by my
"dma-buf locking convention" series. Thanks to Dan Carpenter who
checked linux-next with Smatch and reported the found issues!

Please review/ack, I'll apply the patches to misc-next afterwards.

Thanks!

Dmitry Osipenko (2):
dma-buf: Make locking consistent in dma_buf_detach()
drm/gem: Check whether object is NULL in drm_gem_vunmap()

drivers/dma-buf/dma-buf.c | 3 ++-
drivers/gpu/drm/drm_gem.c | 9 ++++++---
2 files changed, 8 insertions(+), 4 deletions(-)

--
2.37.3