[media] marvell-ccic: check register address
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 29 May 2013 10:00:02 +0000 (07:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 11:54:44 +0000 (08:54 -0300)
commit4e032f3f58800a998bae79150909410d7a37206f
tree89f74545ade5eded447a10e3cbe85347fd49a966
parent9dd1d6f01750955ae5183f0da73606b314cc1a42
[media] marvell-ccic: check register address

Prevent out-of-range register accesses.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/marvell-ccic/cafe-driver.c
drivers/media/platform/marvell-ccic/mcam-core.c
drivers/media/platform/marvell-ccic/mcam-core.h
drivers/media/platform/marvell-ccic/mmp-driver.c