Re: [PATCH] IIO: adc: at91_adc.c Prefer kmalloc_array over kmalloc with multiply

2015-11-22 Thread Jonathan Cameron
On 16/11/15 00:05, Nizam Haider wrote: > So this patch swaps that use out for kmalloc_array instead. > > Signed-off-by Nizam Haider Applied to the togreg branch of iio.git - initially push out as staging Thanks, Jonathan > --- > drivers/iio/adc/at91_adc.c | 2 +- > 1 file changed, 1 insertion(+

[PATCH] IIO: adc: at91_adc.c Prefer kmalloc_array over kmalloc with multiply

2015-11-15 Thread Nizam Haider
So this patch swaps that use out for kmalloc_array instead. Signed-off-by Nizam Haider --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 7b40925..f284cd6 100644 --- a/drivers/iio/adc/at