diff options
| author | Niranjan Dighe <[email protected]> | 2016-02-14 08:51:48 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-14 16:21:15 -0800 |
| commit | d60fc1bbc26a16e79258d9b11baea83f49ff7776 (patch) | |
| tree | d2d95154dc6c1dce7e65c378bd32bfb86295acea /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5fd88337d209d5948ab86b6dfca968dbb29ef89a (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