Re: [PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Thierry Reding
On Tue, Mar 28, 2017 at 04:10:43PM +0200, Niklas Cassel wrote: > > > On 03/28/2017 03:57 PM, Thierry Reding wrote: > > From: Thierry Reding > > > > Even if hardware supports multiple queues, software can choose to only > > use a subset of them. Make sure we never try to access uninitialized > >

Re: [PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Niklas Cassel
On 03/28/2017 03:57 PM, Thierry Reding wrote: > From: Thierry Reding > > Even if hardware supports multiple queues, software can choose to only > use a subset of them. Make sure we never try to access uninitialized > queues. > > Signed-off-by: Thierry Reding > --- > drivers/net/ethernet/stmi

[PATCH 2/3] net: stmmac: Always use the number of configured TX queues

2017-03-28 Thread Thierry Reding
From: Thierry Reding Even if hardware supports multiple queues, software can choose to only use a subset of them. Make sure we never try to access uninitialized queues. Signed-off-by: Thierry Reding --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1