Re: [PATCH][next] octeontx2-pf: Fix assigned error return value that is never used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue,  6 Jul 2021 12:18:02 +0100 you wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Currently when the call to otx2_mbox_alloc_msg_cgx_mac_addr_update fails
> the error return variable rc is being assigned -ENOMEM and does not
> return early. rc is then re-assigned and the error case is not handled
> correctly. Fix this by returning -ENOMEM rather than assigning rc.
> 
> [...]

Here is the summary with links:
  - [next] octeontx2-pf: Fix assigned error return value that is never used
    https://git.kernel.org/netdev/net/c/ad1f37970875

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux