From: Ebru Akagunduz Date: Thu, 2 Oct 2014 20:32:07 +0000 (+0300) Subject: staging: emxx_udc: Use min_t instead of min X-Git-Tag: fixes-for-v3.18-merge-window~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77d966f4b02179ad0b7b12179fedbd12b0c4f735;p=pandora-kernel.git staging: emxx_udc: Use min_t instead of min Use min_t instead of min function in emxx_udc.c Fix checkpatch.pl warnings: WARNING: min() should probably be min_t(u32, iBufSize, ep->ep.maxpacket) WARNING: min() should probably be min_t(u32, data_size, ep->ep.maxpacket) WARNING: min() should probably be min_t(u16, udc->ctrl.wLength, sizeof(status_data)) Changes in v2: - Fixed min function call as min_t Signed-off-by: Ebru Akagunduz Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed