From: Gulsah Kose Date: Thu, 30 Oct 2014 01:03:46 +0000 (+0200) Subject: staging: rtl8188eu: os_dep: Used min_t instead of min X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~578 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd511d98660cba235dfadf1f296a3246fbaea58;p=pandora-kernel.git staging: rtl8188eu: os_dep: Used min_t instead of min This patch fixes this checkpatch.pl warning: WARNING: min() should probably be min_t(int, req->essid_len, IW_ESSID_MAX_SIZE) by using this coccinelle script: @r@ identifier i; expression e1, e2; type t1, t2; @@ t1 i = - min((t2)e1, e2); + min_t(t2, e1, e2); Signed-off-by: Gulsah Kose Reviewed-by: Daniel Baluta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed