]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: fix sense_buffer access bug
authorFUJITA Tomonori <tomof@acm.org>
Sun, 27 Jan 2008 03:41:50 +0000 (12:41 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:03:39 +0000 (13:03 -0600)
commit9d058ecfd444d247b7448e0ef44647514d91a4f2
tree0095e213d843f5713ed29060ba60e11027111331
parent149d6bafc4f19784798cf5154bd1f5ff7e407194
[SCSI] zfcp: fix sense_buffer access bug

The commit de25deb18016f66dcdede165d07654559bb332bc 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>
Acked-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c