/home/himanshu/clang-thread-safety-analysis/ipc/util.c:326:1: warning: mutex '->lock' is not held on every path through here [-Wthread-safety-analysis]
}
^
/home/himanshu/clang-thread-safety-analysis/ipc/util.c:296:2: note: mutex acquired here
spin_lock(&new->lock);
^
https://elixir.bootlin.com/linux/v5.2-rc2/source/ipc/util.c#L277