diff options
author | 2007-04-06 11:14:56 -0500 | |
---|---|---|
committer | 2007-04-14 08:49:03 -0500 | |
commit | 6e3b2bbb197eb12b2bef35bcf2ac3bd6a5facab2 (patch) | |
tree | 2c10a0967b6843a60b76c687750df839b56316b1 /drivers/acpi/processor_perflib.c | |
parent | Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband (diff) | |
download | linux-dev-6e3b2bbb197eb12b2bef35bcf2ac3bd6a5facab2.tar.xz linux-dev-6e3b2bbb197eb12b2bef35bcf2ac3bd6a5facab2.zip |
[SCSI] 3w-xxxx: fix oops caused by incorrect REQUEST_SENSE handling
3w-xxxx emulates a REQUEST_SENSE response by simply returning nothing.
Unfortunately, it's assuming that the REQUEST_SENSE command is
implemented with use_sg == 0, which is no longer the case. The oops
occurs because it's clearing the scatterlist in request_buffer instead
of the memory region.
This is fixed by using tw_transfer_internal() to transfer correctly to
the scatterlist.
Acked-by: adam radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
0 files changed, 0 insertions, 0 deletions