aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNiranjan Dighe <[email protected]>2016-02-14 08:51:48 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-14 16:21:15 -0800
commitd60fc1bbc26a16e79258d9b11baea83f49ff7776 (patch)
treed2d95154dc6c1dce7e65c378bd32bfb86295acea /tools/perf/scripts/python/event_analyzing_sample.py
parent5fd88337d209d5948ab86b6dfca968dbb29ef89a (diff)
staging: lustre/lnet: Fix wrong typecasting warning generated by sparse
Fix the following warning generated about type casting by sparse warning: cast removes address space of expression The current implementation casts the structure pointers with (char *) without __user annotation and then adds sizeof struct to it, thereby generating the sparse warning. Fixed this by removing the unnecessary char pointer type cast. Signed-off-by: Niranjan Dighe <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions