lkml.org 
[lkml]   [2007]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: use jiffies conversion functions in scsi_ioctl.c
On Wed, Dec 05 2007, Tejun Heo wrote:
> Use msecs_to_jiffies() and jiffies_to_msecs() in scsi_ioctl().
> Sometimes callers use very large values for e.g. vendor specific media
> clear command and calculation can overflow.

Thanks Tejun, applied.

--
Jens Axboe



\
 
 \ /
  Last update: 2007-12-05 21:23    [W:0.058 / U:2.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site