]> git.baikalelectronics.ru Git - kernel.git/commit
[media] RedRat3: Improve another size determination in redrat3_reset()
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 13 Oct 2016 11:23:22 +0000 (08:23 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 12:48:22 +0000 (10:48 -0200)
commit59fd0e8f60d9de9575856a113cc4988daf8c43a7
tree5c529a6983cebf146000683d6014a28c36d1f0c1
parent909d3b76765cba51018f4b345f491cd5e6359e51
[media] RedRat3: Improve another size determination in redrat3_reset()

Replace the specification of a data type 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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/redrat3.c