]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] hptiop: fix header.context usage
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 30 Mar 2008 17:36:26 +0000 (12:36 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:08 +0000 (12:19 -0500)
commitd075da1e006eba86549a733a78f952f6a6b80a27
treef913408a1d30e45a785a1ade0eeda00a3e75521e
parent7a9e2ae5591b7432a5192a818345d46d6a76e101
[SCSI] hptiop: fix header.context usage

header.context is a 64 bit field, but it's deliberately split into
context and context_hi32.  Thus cpu_to_le64 assignments are wrong on
this.  Replace them with the correct settings of both the low and high
words.

Cc: HighPoint Linux Team <linux@highpoint-tech.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/hptiop.c