From: Douglas Gilbert Date: Mon, 24 Nov 2014 20:18:02 -0500 Subject: [PATCH 2/5] append inject error flags onto scsi_cmnd object The way the existing scsi_debug command parser associated various inject error flags to a command was difficult to replicate in the table driven parser. This patch adds infrastructure to append those flags to the end of a scsi_cmnd object with the cmd_size host template option. --- drivers/scsi/scsi_debug.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) Signed-off-by: Douglas Gilbert