Re: [PATCH 08/26] dib0700_core: don't use stack on I2C reads

2016-10-10 Thread Patrick Boettcher
On Fri, 7 Oct 2016 14:24:18 -0300 Mauro Carvalho Chehab wrote: > Be sure that I2C reads won't use stack by passing > a pointer to the state buffer, that we know it was > allocated via kmalloc, instead of relying on the buffer > allocated by an I2C client. > >

[PATCH 08/26] dib0700_core: don't use stack on I2C reads

2016-10-07 Thread Mauro Carvalho Chehab
Be sure that I2C reads won't use stack by passing a pointer to the state buffer, that we know it was allocated via kmalloc, instead of relying on the buffer allocated by an I2C client. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb/dib0700_core.c |