]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] lirc_zilog: error out if buffer read bytes != chunk size
authorJarod Wilson <jarod@redhat.com>
Fri, 4 Mar 2011 22:53:05 +0000 (19:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 22:24:21 +0000 (19:24 -0300)
commitcc664ae026f1b0f3254564a7d45cc29e735c7fed
treea2c0eaa8ffbac79aa0eea591dfb0eb82f7282430
parent55734785cdaff596be9a5238af54fc0f4ace2e63
[media] lirc_zilog: error out if buffer read bytes != chunk size

Give it a few tries, then exit. Prevents a possible endless loop
situation.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/lirc/lirc_zilog.c