aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2018-02-06 15:39:51 -0800
committerLinus Torvalds <[email protected]>2018-02-06 18:32:46 -0800
commitd1509c097f685472fb8c6b510ae8c8678499e53d (patch)
tree40f350ce5fb6b92a07be9998766f0ac04a3aaa31 /tools/perf/scripts/python/futex-contention.py
parente1d66d042187f7f18a50fab83cbc9b21b183cc7c (diff)
rapidio: improve a size determination in five functions
Replace the specification of data structures by pointer dereferences 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. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Markus Elfring <[email protected]> Acked-by: Alexandre Bounine <[email protected]> Cc: Matt Porter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions