OSDN Git Service

idr test suite: Improve reporting from idr_find_test_1
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 1 Apr 2021 11:50:42 +0000 (07:50 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 1 Apr 2021 11:50:42 +0000 (07:50 -0400)
commit2c7e57a02708a69d0194f9ef2a7b7e54f5a0484a
tree4d747492461ee5616597ec53fe0d2ccd654d37cc
parent094ffbd1d8eaa27ed426feb8530cb1456348b018
idr test suite: Improve reporting from idr_find_test_1

Instead of just reporting an assertion failure, report enough information
that we can start diagnosing exactly went wrong.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
tools/testing/radix-tree/idr-test.c