Re: [PATCH net-next v2] selftests: tls: fix warning of uninitialized variable
From: Simon Horman
Date: Sat Dec 06 2025 - 05:27:06 EST
On Fri, Dec 05, 2025 at 10:02:42PM +0530, Ankit Khushwaha wrote:
> In 'poll_partial_rec_async' a uninitialized char variable 'token' with
> is used for write/read instruction to synchronize between threads
> via a pipe.
>
> tls.c:2833:26: warning: variable 'token' is uninitialized
> when passed as a const pointer argument
>
> Initialize 'token' to '\0' to silence compiler warning.
>
> Signed-off-by: Ankit Khushwaha <ankitkhushwaha.linux@xxxxxxxxx>
> ---
> compiler used: clang version 21.1.5 (Fedora 21.1.5-1.fc43).
>
> changelog:
> v2:
> - update patch name and msg
>
> v1: https://lore.kernel.org/all/20251129063726.31210-1-ankitkhushwaha.linux@xxxxxxxxx/
Hi Ankit,
Thanks for the update. Overall this seems good to me, however,
net-next is currently closed.
## Form letter - net-next-closed
The merge window for v6.19 has begun and therefore net-next has closed
for new drivers, features, code refactoring and optimizations. We are
currently accepting bug fixes only.
Please repost when net-next reopens.
Due to a combination of the merge-window, travel commitments of the
maintainers, and the holiday season, net-next will re-open after
2nd January.
RFC patches sent for review only are welcome at any time.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
--
pw-bot: defer