]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Convert debug code to use MT_WARN_ON() and MAS_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>
Thu, 27 Apr 2023 01:32:00 +0000 (21:32 -0400)
commit78f64d750e2c9a4589c3d2c6fd1337e82b8b115b
tree3a5c3c09b5fbf5743c9b840f0cf77cbc26a53cc0
parent5cd173ef3ed664bb2533d34b9add9d858191e63f
maple_tree: Convert debug code to use MT_WARN_ON() and MAS_WARN_ON()

Using MT_WARN_ON() allows for the removal of if statements before
logging.  Using MAS_WARN_ON() will provide more information when issues
are encountered.

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