]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/platform/davinci/vpfe_capture.c
[media] DaVinci-VPFE-Capture: Improve another size determination in vpfe_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 08:24:57 +0000 (05:24 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:43:06 +0000 (12:43 -0200)
commite4c0cd0ae34b5e8ea3e8f4eced531dccabe3124c
tree661b1a95e3751eb1ebd95e27b3b6bbe4f75126a7
parent11691f0e8aaef776320938c9018f5785d09f59c5
[media] DaVinci-VPFE-Capture: Improve another size determination in vpfe_probe()

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