diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-29 07:45:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2017-10-04 16:19:40 -0300 |
commit | a8c779eb056e9874c6278151ade857c3ac227db9 (patch) | |
tree | e85df5c4959505f2894e2305f3179fbf58ea8ca0 /samples | |
parent | d7a6795b1d7cce8c6dcfd67d3348ba68ade9d397 (diff) | |
download | linux-a8c779eb056e9874c6278151ade857c3ac227db9.tar.gz linux-a8c779eb056e9874c6278151ade857c3ac227db9.tar.bz2 linux-a8c779eb056e9874c6278151ade857c3ac227db9.zip |
[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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions