From b6fa0cd62c5b9d47f8e5d42cb2876677a5ed701e Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 28 Sep 2012 09:29:43 +0200 Subject: [PATCH] dma-buf: might_sleep() in dma_buf_unmap_attachment() We never really clarified if unmap could be done in atomic context. But since mapping might require sleeping, this implies mutex in use to synchronize mapping/unmapping, so unmap could sleep as well. Add a might_sleep() to clarify this. Signed-off-by: Rob Clark Acked-by: Daniel Vetter Reviewed-by: Maarten Lankhorst Signed-off-by: Sumit Semwal --- Reading git-format-patch failed