diff options
| author | I Hsin Cheng <[email protected]> | 2024-09-10 04:08:18 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-17 08:11:20 +0000 |
| commit | 5e06e08939df1cafef97a8e04f4b88c2806b538a (patch) | |
| tree | 10096ffb64f32444930c64c0e37912b3f44468b9 /rust/helpers/helpers.c | |
| parent | list: test: fix tests for list_cut_position() (diff) | |
| download | kernel-5e06e08939df1cafef97a8e04f4b88c2806b538a.tar.gz kernel-5e06e08939df1cafef97a8e04f4b88c2806b538a.zip | |
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/[email protected]
Signed-off-by: I Hsin Cheng <[email protected]>
Cc: David Gow <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
