From: David Ertman Date: Sat, 14 Dec 2013 07:18:18 +0000 (+0000) Subject: e1000e: fix compiler warnings X-Git-Tag: v3.13-rc7~13^2~22^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e6c3b63399dd424d33a34e08b77f2cab0b84cdc;p=pandora-kernel.git e1000e: fix compiler warnings This patch is to fix a compiler warning of __bad_udelay due to a value of >999 being passed as a parameter to udelay() in the function e1000e_phy_has_link_generic(). This affects the gcc compiler when it is given a flag of -O3 and the icc compiler. This patch is also making the change from mdelay() to msleep() in the same function, since it was determined though code inspection that this function is never called in atomic context. Signed-off-by: David Ertman Acked-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed