Re: [RFC: 2.6.21 patch] fix sound/pci/ice1712/wtm.c:wtm_init()

2007-03-19 Thread Adrian Bunk
On Mon, Mar 19, 2007 at 11:27:52AM +0100, Takashi Iwai wrote: > At Mon, 19 Mar 2007 10:24:38 +0100, > Adrian Bunk wrote: > > > > The Coverity checker spotted this bogus for() loop that produces an > > array overrun. > > Hmm, I'm dense now before a caffee, but how can it overrun...? Looking agai

Re: [RFC: 2.6.21 patch] fix sound/pci/ice1712/wtm.c:wtm_init()

2007-03-19 Thread Takashi Iwai
At Mon, 19 Mar 2007 10:24:38 +0100, Adrian Bunk wrote: > > The Coverity checker spotted this bogus for() loop that produces an > array overrun. Hmm, I'm dense now before a caffee, but how can it overrun...? > > It seems what actually should be done is quite simple? Yes... unless someone wants

[RFC: 2.6.21 patch] fix sound/pci/ice1712/wtm.c:wtm_init()

2007-03-19 Thread Adrian Bunk
The Coverity checker spotted this bogus for() loop that produces an array overrun. It seems what actually should be done is quite simple? Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- sound/pci/ice1712/wtm.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) --- lin