diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-12-29 19:48:44 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-12-29 19:48:44 +0100 |
commit | 74fb251963df4cbb10cc1185297a7c7863ef85e3 (patch) | |
tree | ef81736f7a0738905d9b1790ef229fe3dbf46d15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d33a7ee92acad1beba5095310ad7da5fb4d20c6b (diff) |
video: udlfb: Improve a size determination in dlfb_alloc_urb_list()
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: Bernie Thompson <bernie@plugable.com>
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