Re: [PATCH net-next] octeontx2-pf: Fix otx2_get_fecparam()

2021-02-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Wed, 17 Feb 2021 10:41:39 +0300 you wrote: > Static checkers complained about an off by one read overflow in > otx2_get_fecparam() and we applied two conflicting fixes for it. > > Correct: b0aae0bde26f ("octeontx2: Fix

[PATCH net-next] octeontx2-pf: Fix otx2_get_fecparam()

2021-02-16 Thread Dan Carpenter
Static checkers complained about an off by one read overflow in otx2_get_fecparam() and we applied two conflicting fixes for it. Correct: b0aae0bde26f ("octeontx2: Fix condition.") Wrong: 93efb0c65683 ("octeontx2-pf: Fix out-of-bounds read in otx2_get_fecparam()") Revert the incorrect fix. Fi