diff options
author | 2018-03-28 16:34:29 +0200 | |
---|---|---|
committer | 2018-03-28 16:34:29 +0200 | |
commit | d6f586163f86e91c34ccca72e2d9374bc77d990a (patch) | |
tree | fd076de559a812b0fa3994a40db88b6f102f946c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | video: ARM CLCD: Delete an error message for a failed memory allocation in clcdfb_probe() (diff) | |
download | wireguard-linux-d6f586163f86e91c34ccca72e2d9374bc77d990a.tar.xz wireguard-linux-d6f586163f86e91c34ccca72e2d9374bc77d990a.zip |
video: ARM CLCD: Improve a size determination in clcdfb_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 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>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions