diff options
| author | 2016-02-14 08:51:48 +0530 | |
|---|---|---|
| committer | 2016-02-14 16:21:15 -0800 | |
| commit | d60fc1bbc26a16e79258d9b11baea83f49ff7776 (patch) | |
| tree | d2d95154dc6c1dce7e65c378bd32bfb86295acea /tools/perf/scripts/python | |
| parent | staging: lustre: fix all conditional comparison to zero in LNet layer (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 <niranjan.dighe@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
