]> 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>
Wed, 29 Mar 2023 22:58:38 +0000 (18:58 -0400)
commit5e1cc6e526ebb3b5551cf36f4815cb94c6fb2021
treeb20e670462cfd877a110a74bbf9e3d98c8d9e60d
parent8270cb2ae0415c015e4d7dbf8aea4d742c678f9f
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