]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Convert debug code to use MT_WARN_ON()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Aug 2022 19:55:15 +0000 (15:55 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 13 Dec 2022 21:22:36 +0000 (16:22 -0500)
commit394e9e88da30258e5853cd4c33684d73d6c3edc5
tree3ff5ae0bd2661add4ab6506cf38d05cd79212291
parent5b29dd996a3e5f0427a4f478c51ae8fa26ee1764
maple_tree: Convert debug code to use MT_WARN_ON()

Using MT_WARN_ON() allows for the removal of if statements before
logging.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c