From: Anil Belur Date: Thu, 31 Jul 2014 07:51:02 +0000 (+0530) Subject: staging: lustre: ptlrpc: lproc_ptlrpc.c - fix dereferenceing user space buffer X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29dd4f9be63befafbedeb816f6954148f29592bf;p=pandora-kernel.git staging: lustre: ptlrpc: lproc_ptlrpc.c - fix dereferenceing user space buffer - this fixes sparse warning for directly deferencing user space buffer drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:652:33: warning: incorrect type in argument 2 (different address spaces) drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:652:33: expected void const [noderef] *from drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c:652:33: got char const *buffer Signed-off-by: Anil Belur Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed