]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd74fe3e39fee51e5e03df6ead07ecdcf4f38d505
tree3b968f086a248dd2e5614e041512012342f1a495
parent323643ea1a0347beab11db8c2f904f2602d77ff9
[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