From 77d966f4b02179ad0b7b12179fedbd12b0c4f735 Mon Sep 17 00:00:00 2001 From: Ebru Akagunduz Date: Thu, 2 Oct 2014 23:32:07 +0300 Subject: [PATCH] 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-format-patch failed