[PATCH] test/ring: fix return uninitialized variable
Thomas Monjalon
thomas at monjalon.net
Thu Mar 6 17:41:39 CET 2025
22/02/2025 03:08, fengchengwen:
> Acked-by: Chengwen Feng <fengchengwen at huawei.com>
>
> On 2025/2/19 22:23, Konstantin Ananyev wrote:
> > This change addresses the CID 455328: Uninitialized variables (UNINIT).
> > Strictly speaking right now it should never happen, as role_mask is not
> > zero. But that might change in future, as more test-cases will be
> > introduced. Anyway the fix is trivial.
> >
> > Coverity issue: 455328
> > Fixes: 70581c355d69 ("test/ring: add unit tests for soring API")
> >
> > Signed-off-by: Konstantin Ananyev <konstantin.ananyev at huawei.com>
Applied, thanks.
More information about the dev
mailing list