]> Git Repo - linux.git/commit
maple_tree: convert debug code to use MT_WARN_ON() and MAS_WARN_ON()
authorLiam R. Howlett <[email protected]>
Thu, 18 May 2023 14:55:18 +0000 (10:55 -0400)
committerAndrew Morton <[email protected]>
Fri, 9 Jun 2023 23:25:29 +0000 (16:25 -0700)
commite6d6792a5c5156c60e9e4fea7d3bd5c5fec4d872
treec9e56ff6ee7e0b4bf10229676fa4e1a4eb5d33ca
parent7f2f9dc16fee59afdec2df8c794e97c36e387257
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.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Cc: David Binderman <[email protected]>
Cc: Peng Zhang <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Vernon Yang <[email protected]>
Cc: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
lib/maple_tree.c
This page took 0.053822 seconds and 4 git commands to generate.