From: Jeremiah Mahler Date: Fri, 26 Dec 2014 00:04:44 +0000 (-0800) Subject: staging: lustre: replace MIN with min, cast (__kernel_size_t) X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~316 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce6ad229b5d7a0601f59afa6ce6fdaa09b177f1;p=pandora-kernel.git staging: lustre: replace MIN with min, cast (__kernel_size_t) Switch from MIN to min and fix the new type warning. The warning is produced because a comparison between iov_len, which is a __kernel_size_t, is made to kiov_len, which is an unsigned int (include/linux/lnet/types.h). Fix the warning by casting kiov_len to __kernel_size_t. Signed-off-by: Jeremiah Mahler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed