[PATCH] test/ring: fix return uninitialized variable

fengchengwen fengchengwen at huawei.com
Sat Feb 22 03:08:43 CET 2025


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>



More information about the dev mailing list