commit | 783d0281043b9a1111d81d11ed0610b83d8857ed | [log] [tgz] |
---|---|---|
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | Fri Oct 25 10:33:26 2013 +0000 |
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | Fri Oct 25 10:33:26 2013 +0000 |
tree | 1d838be8915a500134122baa5b7e16894ca5015b | |
parent | 6cf054636261ca5c88f3c2984058d51f927b8a2e [diff] [blame] |
swiotlb: print a warning when the swiotlb is full Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Changes in v7: - use dev_warn instead of pr_warn.
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 4e8686c..cdc051e 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c
@@ -502,6 +502,7 @@ not_found: spin_unlock_irqrestore(&io_tlb_lock, flags); + dev_warn(hwdev, "swiotlb buffer is full\n"); return SWIOTLB_MAP_ERROR; found: spin_unlock_irqrestore(&io_tlb_lock, flags);