]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[SCSI] ips: fix data buffer accessors conversion bug
authorFUJITA Tomonori <tomof@acm.org>
Tue, 19 Feb 2008 08:02:27 +0000 (17:02 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 19 Feb 2008 16:49:27 +0000 (10:49 -0600)
commit2b28a4721e068ac89bd5435472723a1bc44442fe
tree3d84bdc38c41557fdd70f6283a7e4a60d038e6f7
parentff83efacf2b77a1fe8942db6613825a4b80ee5e2
[SCSI] ips: fix data buffer accessors conversion bug

This fixes a bug that can't handle a passthru command with more than
two sg entries.

Big thanks to Tim Pepper for debugging the problem.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Mark Salyzyn <Mark_Salyzyn@adaptec.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ips.c