]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] dpt_i2o: driver is only 32 bit so don't set 64 bit DMA mask
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 12 Dec 2007 20:06:21 +0000 (15:06 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 18 Dec 2007 22:04:08 +0000 (16:04 -0600)
commitc80ddf00cde4c21018dbd0ea2872736c90c7dda2
tree9014d20c2d7f98b22b882cecbb247a67ec5018ad
parent7ee2413ca0da80c819f2388c0faeffce1ac8513b
[SCSI] dpt_i2o: driver is only 32 bit so don't set 64 bit DMA mask

This fixes a potential corruption bug where the truncation would cause
reading or writing to the wrong memory area on machines with >4GB of
main memory.

Cc: Stable Kernel Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/dpt_i2o.c