]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ivtv: fix register range check
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:10 +0000 (07:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 12:17:27 +0000 (09:17 -0300)
commitcc3d4dcda2e27fdde7dbc446bca223aa36341135
treee05d56eeaea231f3f7193d549e9f1225bdc40d2a
parenta724a27bd189428506796cd2e19367c81299c94e
[media] ivtv: fix register range check

Ensure that the register is aligned to a dword, otherwise the range check
could fail since it assumes dword alignment.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/ivtv/ivtv-ioctl.c