[SCSI] add scsi_build_sense_buffer helper function
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 25 Mar 2008 00:26:49 +0000 (09:26 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:01 +0000 (12:19 -0500)
commit3bc6a26192d2548397a3e721d786cf8345ee54e1
tree03d14e2549a306c932bed0ee619bc67066631912
parentbe3cb3d84bb8dffecb7c5570355866075caa7e95
[SCSI] add scsi_build_sense_buffer helper function

This adds scsi_build_sense_buffer, a simple helper function to build
sense data in a buffer.

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