diff options
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | 2013-12-14 12:26:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-15 04:59:42 +0100 |
commit | df29df92adda751ac04ca5149d30014b5199db81 (patch) | |
tree | 38ca19e036da94e37077b07b65e533b24de809d7 /net | |
parent | i40e: fix null dereference (diff) | |
download | linux-df29df92adda751ac04ca5149d30014b5199db81.tar.xz linux-df29df92adda751ac04ca5149d30014b5199db81.zip |
igb: Fix for issue where values could be too high for udelay function.
This patch changes the igb_phy_has_link function to check the value of the
parameter before deciding to use udelay or mdelay in order to be sure that
the value is not too high for udelay function.
CC: stable kernel <stable@vger.kernel.org> # 3.9+
Signed-off-by: Sunil K Pandey <sunil.k.pandey@intel.com>
Signed-off-by: Kevin B Smith <kevin.b.smith@intel.com>
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions