Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

memblock tests: update reference to obsolete build option in comments

The VERBOSE build option was replaced with the --verbose runtime option,
but the comments describing the ASSERT_*() macros still refer to the
VERBOSE build option. Update these comments so that they refer to the
--verbose runtime option.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/5f8a4c2bde34cc029282c68d47eda982d950f421.1660451025.git.remckee0@gmail.com

authored by

Rebecca Mckeever and committed by
Mike Rapoport
61ebea2b c0f1bc4e

+6 -3
+6 -3
tools/testing/memblock/tests/common.h
··· 16 16 * ASSERT_EQ(): 17 17 * Check the condition 18 18 * @_expected == @_seen 19 - * If false, print failed test message (if in VERBOSE mode) and then assert 19 + * If false, print failed test message (if running with --verbose) and then 20 + * assert. 20 21 */ 21 22 #define ASSERT_EQ(_expected, _seen) do { \ 22 23 if ((_expected) != (_seen)) \ ··· 29 28 * ASSERT_NE(): 30 29 * Check the condition 31 30 * @_expected != @_seen 32 - * If false, print failed test message (if in VERBOSE mode) and then assert 31 + * If false, print failed test message (if running with --verbose) and then 32 + * assert. 33 33 */ 34 34 #define ASSERT_NE(_expected, _seen) do { \ 35 35 if ((_expected) == (_seen)) \ ··· 42 40 * ASSERT_LT(): 43 41 * Check the condition 44 42 * @_expected < @_seen 45 - * If false, print failed test message (if in VERBOSE mode) and then assert 43 + * If false, print failed test message (if running with --verbose) and then 44 + * assert. 46 45 */ 47 46 #define ASSERT_LT(_expected, _seen) do { \ 48 47 if ((_expected) >= (_seen)) \