]> git.baikalelectronics.ru Git - kernel.git/commit
ide_tape: convert jiffies with jiffies_to_msecs
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 3 Mar 2015 10:52:51 +0000 (05:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Mar 2015 03:25:57 +0000 (23:25 -0400)
commit73eea4a70a1cbe5e2edfa14e4e3f4b0132db175f
tree33b4bf67c1f6f6ff5d730cf75ab4ac61d790b60d
parentcc53ab6f300a6287bfa3cb29341b8af7376b5a13
ide_tape: convert jiffies with jiffies_to_msecs

Use jiffies_to_msecs for converting jiffies as it handles all of the corner
cases reliably and also helps readability. The printk format is fixed up
as jiffies_to_msecs returns unsigned int not unsigned long.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-tape.c