alistair23-linux/drivers/staging/lustre/lnet
Niranjan Dighe d60fc1bbc2 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>
2016-02-14 16:21:15 -08:00
..
klnds staging: lustre: fix all conditional comparison to zero in LNet layer 2016-02-14 16:20:32 -08:00
lnet staging: lustre: fix all conditional comparison to zero in LNet layer 2016-02-14 16:20:32 -08:00
selftest staging: lustre/lnet: Fix wrong typecasting warning generated by sparse 2016-02-14 16:21:15 -08:00
Kconfig
Makefile