summaryrefslogtreecommitdiffstats
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2017-02-24 12:13:37 +0100
committerJoerg Roedel <jroedel@suse.de>2017-03-21 14:58:18 +0100
commitd751751a9f7f2f8e406d5a09565d337f009835d6 (patch)
treeb5ed3a1536a8e0418dd738a17ad356d0eba882e7 /lib/debug_locks.c
parentLinux 4.11-rc3 (diff)
downloadlinux-d751751a9f7f2f8e406d5a09565d337f009835d6.tar.xz
linux-d751751a9f7f2f8e406d5a09565d337f009835d6.zip
iommu/iova: Consolidate code for adding new node to iovad domain rbtree
This patch consolidates almost the same code used in iova_insert_rbtree() and __alloc_and_insert_iova_range() functions. While touching this code, replace BUG() with WARN_ON(1) to avoid taking down the whole system in case of corrupted iova tree or incorrect calls. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions