diff options
author | Sunil Goutham <sgoutham@marvell.com> | 2018-10-16 14:27:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-18 07:33:42 +0300 |
commit | 6ca3ee2f7d3a4b6063c14f5ebd1c6076035310ef (patch) | |
tree | 9a64837f6433f333f2915caf2e4717f3d25a1fb9 /net/unix/af_unix.c | |
parent | 53e50a6ec24d83e9d79e6a95a33b7adcd610f772 (diff) | |
download | linux-6ca3ee2f7d3a4b6063c14f5ebd1c6076035310ef.tar.xz |
octeontx2-af: Improve register polling loop
Instead of looping on a integer timeout, use time_before(jiffies),
so that maximum poll time is capped.
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions