diff options
| author | David Ertman <[email protected]> | 2013-12-14 07:18:18 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-12-17 21:52:39 -0800 |
| commit | 9e6c3b63399dd424d33a34e08b77f2cab0b84cdc (patch) | |
| tree | 7c649caddf8cca456e147ee5517a471e4621df1c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 85328240c625f322af9f69c7b60e619717101d77 (diff) | |
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 <[email protected]>
Acked-by: Bruce Allan <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions