Re: [PATCH v3 2/2] list: add KUnit test for list_cut_before() empty list case
From: David Gow
Date: Sun Nov 29 2026 - 21:13:34 EST
On Fri, 18 Sep 2026 16:10:26 +0800, Ziran Zhang <zhangcoder@xxxxxxxx> wrote:
> Add a test case covering list_cut_before() with an empty head
> and an entry not on the list. Without the empty list guard,
> the call would corrupt the head list.
Acked-by: David Gow <david@xxxxxxxxxxxx>
--
David Gow <david@xxxxxxxxxxxx>