aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2022-02-25 10:52:46 +0800
committerShuah Khan <[email protected]>2022-02-25 08:38:48 -0700
commitd7fd696c12605b1666e9a2051e2ac896af103bfe (patch)
treed762e4387afcca174528a3752be59c9dbf087a1e /net/lapb/lapb_subr.c
parentc2741453478badf571ef020d160053e8d5e1ba94 (diff)
list: test: Add test for list_del_init_careful()
The list_del_init_careful() function was added[1] after the list KUnit test. Add a very basic test to cover it. Note that this test only covers the single-threaded behaviour (which matches list_del_init()), as is already the case with the test for list_empty_careful(). [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c6fe44d96fc1536af5b11cd859686453d1b7bfd1 Signed-off-by: David Gow <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions