--- On Fri, 2/8/08, Alan Cox <[EMAIL PROTECTED]> wrote: > The word "illegal" has a precise dictionary > meaning of "prohibited by > law". The error messages are therefore incorrect as so > far nobody has > made SCSI violations a criminal offence. > > This corrects scsi to match various other subsystems > I've slowly been > ridding of this. > > Pedantically-signed-off-by: Alan Cox > <[EMAIL PROTECTED]>
Alan, In standards and in hardware specs, from which the meaning of "illegal" is borrowed from (into standards), "illegal" doesn't necessarily mean "invalid", and cannot be substituted for. This is exactly why this particular word is used in the ASC/ASCQ assignments. It exposes an underlying behaviour. For example: > - {0x2004, "Illegal command while in write capable state"}, > + {0x2004, "Invalid command while in write capable state"}, Consider this: the command itself can be very perfectly "valid", e.g. the SCB contents, format, etc., but certainly "illegal". Similarly for the rest of this patch. Luben - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html