> + switch (sshdr.sense_key) { > + case NOT_READY: > + if ((sshdr.asc == 0x04) && (sshdr.ascq == 3)) { No need for the inner braces. Otherwise looks fine: Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html