OSDN Git Service

[SCSI] mpt2sas: Corrected time stamp
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 17 Mar 2010 10:51:33 +0000 (16:21 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:54 +0000 (09:23 -0500)
commit7921b35c5fcf300ebd860e3e7894c692c9547838
tree3b968f086a248dd2e5614e041512012342f1a495
parent31cef6bcb89dbbc325e65f7570644554de7db441
[SCSI] mpt2sas: Corrected time stamp

incorrect timestamp on 32 bit platforms: The upper 32 bit of
the timestamp was getting truncated when converting seconds to
milliseconds, which was due to the variable being long. To fix the problem,
the variable needs to be u64. Also the microseconds conversion to
milliseconds was incorrect; it should be divide by 1000 instead of divide by
8.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c