diff options
author | I Hsin Cheng | 2024-09-10 12:08:18 +0800 |
---|---|---|
committer | Andrew Morton | 2024-09-17 01:11:20 -0700 |
commit | 5e06e08939df1cafef97a8e04f4b88c2806b538a (patch) | |
tree | 10096ffb64f32444930c64c0e37912b3f44468b9 /drivers/mtd | |
parent | e620799c414a035dea1208bcb51c869744931dbb (diff) |
list: test: increase coverage of list_test_list_replace*()
Increase the test coverage of list_test_list_replace*() by adding the
checks to compare the pointer of "a_new.next" and "a_new.prev" to make
sure a perfect circular doubly linked list is formed after the
replacement.
Link: https://lkml.kernel.org/r/20240910040818.65723-1-richard120310@gmail.com
Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
Cc: David Gow <davidgow@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions