From: Artemiy Volkov Date: Fri, 12 Sep 2014 16:31:33 +0000 (+1000) Subject: staging: lustre: Fix address space mismatch in ksocknal_recv_iov() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~444 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2101f98caf8246cbf6b7ad40a585c017379c389e;p=pandora-kernel.git staging: lustre: Fix address space mismatch in ksocknal_recv_iov() This patch fixes the following sparse warnings: drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:51: warning: cast removes address space of expression drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39: warning: incorrect type in assignment (different address spaces) drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39: expected void [noderef] *iov_base drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39: got void * by simplifying an expression containing non-__user-attributed type names. Signed-off-by: Artemiy Volkov Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed