Re: [PATCH 07/19] lirc_dev: remove kmalloc in lirc_dev_fop_read()

2017-10-09 Thread David Härdeman
October 4, 2017 6:57 PM, "Mauro Carvalho Chehab" wrote: > Em Sun, 25 Jun 2017 14:31:50 +0200 > David Härdeman escreveu: > >> lirc_zilog uses a chunk_size of 2 and ir-lirc-codec uses sizeof(int). >> >> Therefore, using stack memory should be perfectly fine. >> >> Signed-off-by: David Härdeman

Re: [PATCH 07/19] lirc_dev: remove kmalloc in lirc_dev_fop_read()

2017-10-04 Thread Mauro Carvalho Chehab
Em Sun, 25 Jun 2017 14:31:50 +0200 David Härdeman escreveu: > lirc_zilog uses a chunk_size of 2 and ir-lirc-codec uses sizeof(int). > > Therefore, using stack memory should be perfectly fine. > > Signed-off-by: David Härdeman > --- > drivers/media/rc/lirc_dev.c |8 +--- > 1 file chang

[PATCH 07/19] lirc_dev: remove kmalloc in lirc_dev_fop_read()

2017-06-25 Thread David Härdeman
lirc_zilog uses a chunk_size of 2 and ir-lirc-codec uses sizeof(int). Therefore, using stack memory should be perfectly fine. Signed-off-by: David Härdeman --- drivers/media/rc/lirc_dev.c |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/media/rc/lirc_dev.c b