]> 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)
commit70d9237f77f28b7f01099c689f049268b97f2064
tree33b4bf67c1f6f6ff5d730cf75ab4ac61d790b60d
parent8c4075830f6be328055b03f8a047d7a0ce4da7d2
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