From: Nicholas Mc Guire Date: Mon, 8 Jun 2015 19:16:28 +0000 (+0200) Subject: atm: use msecs_to_jiffies for conversions X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684b4ac14f4306c877834a8daaf0f0665128eae4;p=pandora-kernel.git atm: use msecs_to_jiffies for conversions API compliance scanning with coccinelle flagged: ./drivers/atm/iphase.c:2621:4-20: WARNING: timeout (50) seems HZ dependent Numeric constants passed to schedule_timeout() make the effective timeout HZ dependent which does not seem intended. Fixed up by converting the constant to jiffies with msecs_to_jiffies() As this driver was introduced in the early 2.3 series it is most likely assuming HZ=100 so the constant 50 is converted to 500ms. Signed-off-by: Nicholas Mc Guire Signed-off-by: David S. Miller --- Reading git-diff-tree failed