]> git.karo-electronics.de Git - linux-beck.git/commit
[media] DaVinci-VPFE-Capture: Improve another size determination in vpfe_open()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 08:44:05 +0000 (05:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:44:17 +0000 (12:44 -0200)
commit1d3811d35c0fc8d8c6cb3d8e666261ca84687b03
tree676e3ed44ab2b82403fcd46f4098d451e4b86a8c
parentefb74461f5a66c0004d0c13ef59c86bcf5961477
[media] DaVinci-VPFE-Capture: Improve another size determination in vpfe_open()

Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c