diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-08 04:50:09 -0400 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2017-05-08 11:20:21 -0400 |
commit | db7942b6292306abd42d3340fdb57d9d80fcffd9 (patch) | |
tree | 098fad9115d5f49040d00470a4e79579225f311a /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 9eddb41dbe98b4854e64a69b686ace734c2c7aa0 (diff) |
dma-buf: Improve a size determination in dma_buf_attach()
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.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions