]> git.baikalelectronics.ru Git - kernel.git/commit
[media] imon: Improve a size determination in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 29 Aug 2017 10:45:59 +0000 (07:45 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:19:40 +0000 (16:19 -0300)
commit2109cce4e01a3db20d249c04fe7d10bace1b7123
treee85df5c4959505f2894e2305f3179fbf58ea8ca0
parenta3bceca7d1498cb30be17156d14434d833c41f16
[media] imon: Improve a size determination in two functions

Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/imon.c