linux/drivers/staging/lirc
Jarod Wilson 88914bdf8c [media] staging/lirc: fix mem leaks and ptr err usage
When the lirc drivers were converted over to using memdup_user, I
mistakenly also removed corresponding calls to kfree. Add those back. I
also screwed up on the allocation error check in lirc_serial, using if
(PTR_ERR()) instead of if (IS_ERR()), which broke transmit.

Reported-by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-01-19 12:52:22 -02:00
..
Kconfig [media] Remove staging/lirc/lirc_i2c driver 2010-12-30 12:17:12 -02:00
Makefile [media] Remove staging/lirc/lirc_i2c driver 2010-12-30 12:17:12 -02:00
TODO V4L/DVB: staging/lirc: wire up Kconfig and Makefile bits 2010-08-02 16:43:34 -03:00
TODO.lirc_zilog [media] lirc_zilog: Update TODO.lirc_zilog 2011-01-19 11:46:11 -02:00
lirc_bt829.c V4L/DVB: staging/lirc: CodingStyle cleanups 2010-08-02 16:43:35 -03:00
lirc_ene0100.h V4L/DVB: staging/lirc: add lirc_ene0100 driver 2010-08-02 16:43:21 -03:00
lirc_igorplugusb.c [media] lirc_igorplugusb: add Fit PC2 device ID 2010-10-22 20:05:37 -02:00
lirc_imon.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_it87.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_it87.h V4L/DVB: staging/lirc: add lirc_it87 driver 2010-08-02 16:43:26 -03:00
lirc_ite8709.c [media] staging/lirc: ioctl portability fixups 2010-10-21 01:18:35 -02:00
lirc_parallel.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_parallel.h V4L/DVB: staging/lirc: add lirc_parallel driver 2010-08-02 16:43:27 -03:00
lirc_sasem.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_serial.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_sir.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_ttusbir.c V4L/DVB: staging/lirc: CodingStyle cleanups 2010-08-02 16:43:35 -03:00
lirc_zilog.c [media] lirc_zilog: Add Andy Walls to copyright notice and authors list 2011-01-19 11:46:10 -02:00