diff options
| author | Nicholas Mc Guire <[email protected]> | 2015-06-06 07:51:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-08 06:45:39 +0000 |
| commit | fb79c066bce8620fae04112b33c55f279b60d3e1 (patch) | |
| tree | 1f68474fa2faef3091d58c834186cd609b5368f1 /net/unix/af_unix.c | |
| parent | net/mlx5_core: Fix static checker warnings around system guid query flow (diff) | |
| download | kernel-fb79c066bce8620fae04112b33c55f279b60d3e1.tar.gz kernel-fb79c066bce8620fae04112b33c55f279b60d3e1.zip | |
cosa: use msecs_to_jiffies for conversions
API compliance scanning with coccinelle flagged:
./drivers/net/wan/cosa.c:520:2-18: WARNING:
timeout (30) seems HZ dependent
Numeric constants passed to schedule_timeout() make the effective
timeout HZ dependent which makes little sense in a device probe.
Fixed up by converting the constant to jiffies with msecs_to_jiffies()
Signed-off-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
