]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aic79xx: fix sense_buffer access bug
authorFUJITA Tomonori <tomof@acm.org>
Sun, 27 Jan 2008 03:41:09 +0000 (12:41 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:03:39 +0000 (13:03 -0600)
commit68fadf6d1cb109aeb4c9630342c6a3d0fa5aaed2
tree70fb19c024cf6fea4148892644e9bc9acb15ec36
parent800293b228084cf7a7e12c6a57af7bd414ea1bfe
[SCSI] aic79xx: fix sense_buffer access bug

The commit a463511f5be9460044b9a56b02e319a23d6045b2 changed
scsi_cmnd.sense_buffer from a static array to a dynamically allocated
buffer. We can't access to sense_buffer in '&cmd->sense_buffer' way.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx/aic79xx_osm.c