diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-26 16:22:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 08:48:47 -0400 |
commit | 1fbfd8c13a5706be7f082c6a6ad2efe6eb870ba7 (patch) | |
tree | 003c974b3f6b2460b23e881335ea04c17a4d4439 /fs/gfs2/xattr.h | |
parent | c4cdcf9f1ef06033050bce86f4bdebddf1a05461 (diff) | |
download | talos-obmc-linux-1fbfd8c13a5706be7f082c6a6ad2efe6eb870ba7.tar.gz talos-obmc-linux-1fbfd8c13a5706be7f082c6a6ad2efe6eb870ba7.zip |
media: usbvision: Improve a size determination in usbvision_alloc()
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 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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'fs/gfs2/xattr.h')
0 files changed, 0 insertions, 0 deletions