Re: [PATCH v2 net 5/5] net: ipa: avoid going past end of resource group array

2020-10-28 Thread Willem de Bruijn
On Wed, Oct 28, 2020 at 3:42 PM Alex Elder wrote: > > The minimum and maximum limits for resources assigned to a given > resource group are programmed in pairs, with the limits for two > groups set in a single register. > > If the number of supported resource groups is odd, only half of the > regi

[PATCH v2 net 5/5] net: ipa: avoid going past end of resource group array

2020-10-28 Thread Alex Elder
The minimum and maximum limits for resources assigned to a given resource group are programmed in pairs, with the limits for two groups set in a single register. If the number of supported resource groups is odd, only half of the register that defines these limits is valid for the last group; that