summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-06-07 12:35:46 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-07 23:45:39 -0700
commitcbab1510afbb140f7a51d996eafc525ac316c667 (patch)
tree087be29b4b55dd5ebf602c63181d5cb6a0274337 /net/ipv4/fib_trie.c
parentfb79c066bce8620fae04112b33c55f279b60d3e1 (diff)
downloadtalos-obmc-linux-cbab1510afbb140f7a51d996eafc525ac316c667.tar.gz
talos-obmc-linux-cbab1510afbb140f7a51d996eafc525ac316c667.zip
wan: dscc4: use msecs_to_jiffies for conversions
API compliance scanning with coccinelle flagged: ./drivers/net/wan/dscc4.c:1036:1-33: WARNING: timeout (10) seems HZ dependent ./drivers/net/wan/dscc4.c:554:2-34: WARNING: timeout (10) seems HZ dependent ./drivers/net/wan/dscc4.c:599:2-34: WARNING: timeout (10) seems HZ dependent Numeric constants passed to schedule_timeout_*() make the effective timeout HZ dependent which does not seem to be the intent here. Fixed up by converting the constant to jiffies with msecs_to_jiffies(), passing 100ms (assuming HZ==100 in the original code). Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud