]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
benet: Use time_before_eq for time comparison
authorKarim Eshapa <karim.eshapa@gmail.com>
Mon, 1 May 2017 13:58:08 +0000 (15:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 15:12:46 +0000 (11:12 -0400)
commit2faf26575350e49c1e242b7a464e9302f78b9b15
treef769bd466f580326f47a35d975668600d4777996
parent1a7fca63cd405fc77a9c9ce9291792f2a7d222a4
benet: Use time_before_eq for time comparison

Use time_before_eq for time comparison more safe and dealing
with timer wrapping to be future-proof.

Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c