Re: [PATCH][next] net: mvpp2: use correct index on array mvpp2_pools

From: David Miller
Date: Thu Mar 22 2018 - 14:48:57 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 21 Mar 2018 17:31:15 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Array mvpp2_pools is being indexed by long_log_pool, however this
> looks like a cut-n-paste bug and in fact should be short_log_pool.
>
> Detected by CoverityScan, CID#1466113 ("Copy-paste error")
>
> Fixes: 576193f2d579 ("net: mvpp2: jumbo frames support")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thank you.