Re: [PATCH][next] octeontx2-af: Fix return of uninitialized variable err

2020-11-20 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 18 Nov 2020 13:25:02 + you wrote: > From: Colin Ian King > > Currently the variable err may be uninitialized if several of the if > statements are not executed in function nix_tx_vtag_decfg and a garbage > val

[PATCH][next] octeontx2-af: Fix return of uninitialized variable err

2020-11-18 Thread Colin King
From: Colin Ian King Currently the variable err may be uninitialized if several of the if statements are not executed in function nix_tx_vtag_decfg and a garbage value in err is returned. Fix this by initialized ret at the start of the function. Addresses-Coverity: ("Uninitialized scalar variab