Re: [PATCH RFT] mfd: rc5t583: Fix array subscript is above array bounds

2012-11-26 Thread Samuel Ortiz
Hi Axel, On Tue, Nov 20, 2012 at 10:34:56AM +0800, Axel Lin wrote: > I got below build warning while compiling this driver. > It's obviously RC5T583_MAX_INTERRUPT_MASK_REGS is 9 but irq_en_add array only > has 8 elements. > > CC drivers/mfd/rc5t583-irq.o > drivers/mfd/rc5t583-irq.c: In fun

Re: [PATCH RFT] mfd: rc5t583: Fix array subscript is above array bounds

2012-11-23 Thread Laxman Dewangan
On Tuesday 20 November 2012 08:04 AM, Axel Lin wrote: I got below build warning while compiling this driver. It's obviously RC5T583_MAX_INTERRUPT_MASK_REGS is 9 but irq_en_add array only has 8 elements. CC drivers/mfd/rc5t583-irq.o drivers/mfd/rc5t583-irq.c: In function 'rc5t583_irq_sync

[PATCH RFT] mfd: rc5t583: Fix array subscript is above array bounds

2012-11-19 Thread Axel Lin
I got below build warning while compiling this driver. It's obviously RC5T583_MAX_INTERRUPT_MASK_REGS is 9 but irq_en_add array only has 8 elements. CC drivers/mfd/rc5t583-irq.o drivers/mfd/rc5t583-irq.c: In function 'rc5t583_irq_sync_unlock': drivers/mfd/rc5t583-irq.c:227: warning: array s