Name

scsi_build_sense_buffer — build sense data in a buffer

Synopsis

void scsi_build_sense_buffer (int desc,
 u8 * buf,
 u8 key,
 u8 asc,
 u8 ascq);
 

Arguments

desc

Sense format (non zero == descriptor format, 0 == fixed format)

buf

Where to build sense data

key

Sense key

asc

Additional sense code

ascq

Additional sense code qualifier