summaryrefslogtreecommitdiff
path: root/drivers/media/video/davinci/dm355_ccdc_regs.h
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-01-17 22:02:00 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 17:52:22 +0300
commit88914bdf8c677ebd7e797adac05e47303fd6ac77 (patch)
tree6ba8b683d9b19ee4d2d7aa0836b1f2cf7dc4d1f6 /drivers/media/video/davinci/dm355_ccdc_regs.h
parent559d162e1ebcdb61e89f154f2c2db376af072b0e (diff)
downloadlinux-88914bdf8c677ebd7e797adac05e47303fd6ac77.tar.xz
[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>
Diffstat (limited to 'drivers/media/video/davinci/dm355_ccdc_regs.h')
0 files changed, 0 insertions, 0 deletions