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/stackcollapse.py | |
| parent | video/fbdev/vt8500lcdfb: Delete an error message for a failed memory allocati... (diff) | |
| download | linux-74fb251963df4cbb10cc1185297a7c7863ef85e3.tar.gz linux-74fb251963df4cbb10cc1185297a7c7863ef85e3.zip | |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
