> + 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 <h...@lst.de> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html